r/java • • Mar 19 '19

Java 12 Released !!!

https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
235 Upvotes

98 comments sorted by

View all comments

Show parent comments

77

u/MasterLJ Mar 19 '19

Step 1 : Download the Java 9 JRE

Step 2 : Try to run your existing app

Step 3 : Tears

Step 4 : Use the Java 8 JRE

29

u/_INTER_ Mar 19 '19 edited Mar 20 '19
  • Java 9 is EOL

  • There's no JRE for Java 11+ (you're supposed to build a runtime that fits your application using jdeps / jlink)

11

u/thedomham Mar 20 '19

There's no JRE for Java 11+

For everyone who was as confused upon reading this statement as me: it's true. There is no JRE anymore. The JRE is practically a subset of the JDK and with jigsaw you are supposed to use the new Java linker (jlink) to bundle an application-specific runtime with your jar instead of relying on a complete runtime (JRE) being available in your target environment.

I initially thought "there is no JRE" was some part of the Oracle license change fearmongering '

2

u/_INTER_ Mar 20 '19

Thanks, I've clarified that point