How is Java / JVM built ? Back then and now...

Post on 28-Jul-2015

365 views 0 download

Tags:

Transcript of How is Java / JVM built ? Back then and now...

How is JDK / JVM built ? Back then and now...!

@adoptopenjdk

Mani Sarkar (@theNeomatrix369)

Daniel Bryant (@danielbryantuk)London Java Community

Java

Mani @theNeomatrix369

● LJC Associate● Adopt OpenJDK and JSR (JCP Member)● blog: http://neomatrix369.wordpress.com● github: http://github.com/neomatrix369● bitbucket: https://bitbucket.org/neomatrix369

Avatar: courtesy of Recworks: Dan Smallman @dsrecworks

About me

Daniel @danielbryantuk

● Principal Consultant at OpenCredo● LJC Associate● blog: https://taidevcouk.wordpress.com● Adopt OpenJDK and JSR ● InfoQ Editor and DZone MVB

About me

Agenda

● Get Ready...Steady...Go...all in parallel● How is JDK / JVM built ? Adopt OpenJDK is

your answer ! - a quick glance● Hands-on: Building natively or cloud● Hands-on: Building inside a VM● Hands-on: Building using vagrant● Hands-on: Building using docker● Important news: Java 9 modularisation● Q & A

Countdown to start...

Ready, steady, and go...

● Linux○ Java 7○ Java 8○ VirtualBox○ Vagrant○ Docker

Do we have everything we need ?

● Windows○ Java 7○ Java 8○ VirtualBox○ Vagrant○ Boot2Docker○ Docker○ Docker env.

variables are all set ?

● MacOS○ Java 7○ Java 8○ VirtualBox○ Vagrant○ Boot2Docker○ Docker○ Docker env.

variables are all set ?

Where do we get them from ?

Pre-hackday http://bit.ly/1JRZg7r

Where do we get them from ?

Additional pre-hackday tasks

http://bit.ly/1MUwNhd

● Built OpenJDK natively or on the cloud ?○ Successful ?○ Unsuccessful ?

Is everything working as expected ?

● Downloaded VM or docker images ?○ Working ?■ Successful builds ?■ Broken builds ?

○ Not working ?■ Debugging ?■ Not debugging ?

Is everything working as expected ?

● Built VM or docker images ?○ Working ?■ Successful builds ?■ Broken builds ?

○ Not working ?■ Debugging ?■ Not debugging ?

Is everything working as expected ?

● OpenJDK builds in VMs or docker containers ?○ Working ?■ Successful ?■ Unsuccessful ?

○ Not working ?■ Debugging ?■ Not debugging ?

Is everything working as expected ?

What do we do now ?

Setuphttp://bit.ly/1KReavj

What do we do now ?

Navigate http://bit.ly/1GH6trM

How is JDK / JVM built ? Adopt OpenJDK is your answer !

Java

http://bit.ly/1dFoObi

Hands-on: Building natively or in the Cloud

http://bit.ly/1QCpu3h

Hands-on: Building inside a VM

http://bit.ly/1GcxKf5

Hands-on: Building using VAGRANT

http://bit.ly/1QCq6Gc

Homework: improve the existing VAGRANT script

http://bit.ly/1SlR8yN

Hands-on: Building using Docker

Homework: Improve the existing Docker script

Lots of changes in OpenJDK9, primarily due to Jigsaw - modularisation of Java itself!

OpenJDK9 ?

Breaking changes !

OpenJDK9 ?

But not the end of the world !

OpenJDK9 ?

Test Outreach: Testing Java Earlyhttp://bit.ly/1QYWLjT

OpenJDK9 ?

What will you ask others ?

Q: How to get started ?

A: Adopt OpenJDK Getting Started Kit http://bit.ly/1NUkPWw

What next ?

Adoption Discuss mailing listhttp://mail.openjdk.java.net/mailman/listinfo/adoption-discuss

mailto: adoption-discuss@openjdk.java.net

LJC mailing listhttp://www.meetup.com/Londonjavacommunity/messages/

mailto: ljc-list@meetup.com

Q & A

Keep them coming !

Let’s change the Java ecosystem, together!

Daniel Bryant @danielbryantukMani Sarkar @theNeomatrix369

Follow us on twitter@adoptopenjdk

Write to usadopt-openjdk@googlegroups.comadoption-discuss@openjdk.java.net

Credits & Resources

http://bit.ly/1yGYFSdSee Resources section at the bottom of the page