How is Java / JVM built ? Back then and now...
-
Upload
mani-sarkar -
Category
Software
-
view
366 -
download
0
Transcript of How is Java / JVM built ? Back then and now...
![Page 1: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/1.jpg)
How is JDK / JVM built ? Back then and now...!
@adoptopenjdk
Mani Sarkar (@theNeomatrix369)
Daniel Bryant (@danielbryantuk)London Java Community
Java
![Page 2: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/2.jpg)
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
![Page 3: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/3.jpg)
Daniel @danielbryantuk
● Principal Consultant at OpenCredo● LJC Associate● blog: https://taidevcouk.wordpress.com● Adopt OpenJDK and JSR ● InfoQ Editor and DZone MVB
About me
![Page 4: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/4.jpg)
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
![Page 5: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/5.jpg)
Countdown to start...
Ready, steady, and go...
![Page 6: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/6.jpg)
● 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 ?
![Page 8: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/8.jpg)
Where do we get them from ?
Additional pre-hackday tasks
http://bit.ly/1MUwNhd
![Page 9: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/9.jpg)
● Built OpenJDK natively or on the cloud ?○ Successful ?○ Unsuccessful ?
Is everything working as expected ?
![Page 10: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/10.jpg)
● Downloaded VM or docker images ?○ Working ?■ Successful builds ?■ Broken builds ?
○ Not working ?■ Debugging ?■ Not debugging ?
Is everything working as expected ?
![Page 11: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/11.jpg)
● Built VM or docker images ?○ Working ?■ Successful builds ?■ Broken builds ?
○ Not working ?■ Debugging ?■ Not debugging ?
Is everything working as expected ?
![Page 12: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/12.jpg)
● OpenJDK builds in VMs or docker containers ?○ Working ?■ Successful ?■ Unsuccessful ?
○ Not working ?■ Debugging ?■ Not debugging ?
Is everything working as expected ?
![Page 15: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/15.jpg)
![Page 16: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/16.jpg)
How is JDK / JVM built ? Adopt OpenJDK is your answer !
Java
http://bit.ly/1dFoObi
![Page 17: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/17.jpg)
Hands-on: Building natively or in the Cloud
http://bit.ly/1QCpu3h
![Page 20: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/20.jpg)
Homework: improve the existing VAGRANT script
![Page 22: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/22.jpg)
Homework: Improve the existing Docker script
![Page 23: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/23.jpg)
Lots of changes in OpenJDK9, primarily due to Jigsaw - modularisation of Java itself!
OpenJDK9 ?
![Page 24: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/24.jpg)
Breaking changes !
OpenJDK9 ?
![Page 25: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/25.jpg)
But not the end of the world !
OpenJDK9 ?
![Page 26: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/26.jpg)
Test Outreach: Testing Java Earlyhttp://bit.ly/1QYWLjT
OpenJDK9 ?
![Page 27: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/27.jpg)
What will you ask others ?
Q: How to get started ?
A: Adopt OpenJDK Getting Started Kit http://bit.ly/1NUkPWw
![Page 28: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/28.jpg)
What next ?
Adoption Discuss mailing listhttp://mail.openjdk.java.net/mailman/listinfo/adoption-discuss
mailto: [email protected]
LJC mailing listhttp://www.meetup.com/Londonjavacommunity/messages/
mailto: [email protected]
![Page 29: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/29.jpg)
Q & A
Keep them coming !
![Page 30: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/30.jpg)
Let’s change the Java ecosystem, together!
Daniel Bryant @danielbryantukMani Sarkar @theNeomatrix369
Follow us on twitter@adoptopenjdk
Write to [email protected]@openjdk.java.net
![Page 31: How is Java / JVM built ? Back then and now...](https://reader034.fdocuments.in/reader034/viewer/2022042716/55b6e2ecbb61eb7e268b4847/html5/thumbnails/31.jpg)
Credits & Resources
http://bit.ly/1yGYFSdSee Resources section at the bottom of the page