Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39003

Re: How do I compile my Java 8 SE code with OpenJDK 11?

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: How do I compile my Java 8 SE code with OpenJDK 11?
Date 2019-07-15 21:49 -0400
Organization Aioe.org NNTP Server
Message-ID <qgjaf1$ej7$1@gioia.aioe.org> (permalink)
References <19942fd8-6ea3-457f-ac8b-3dab01a5ba37@googlegroups.com> <qfk3pq$ue1$1@dont-email.me> <qgdcek$do3$1@dont-email.me> <7f2ae5a1-2725-47f8-8b4b-6a785f4e2ff9@googlegroups.com>

Show all headers | View raw


On 7/15/2019 10:09 AM, Eric Douglas wrote:
> On Saturday, July 13, 2019 at 3:46:38 PM UTC-4, Knute Johnson wrote:
>> I've been using the Azul 11 JDK with JavaFX.  I've been very happy with
>> that one so far.
>>
>> https://www.azul.com/downloads/zulu/
> 
> Great so now there's a Zulu Java?  Does every Java API compile on everyone's JDK or do we have to keep making changes if you migrate an API to another version?  How many versions will there be now?
> 
> We have the dropping support but free forever Java 8 SE u202 from Oracle
> https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
> The current Oracle Java for testing only unless you have an Oracle license.
> https://www.oracle.com/technetwork/java/javase/downloads/index.html
> OpenJDK HotSpot (the main one now supported by our Java-base language vendor)
> https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
> OpenJDK OpenJ9 (claims faster than HotSpot but apparently missing some key features)
> https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=openj9
> jdk.java.net (claims is from Oracle, not sure what this is about)
> http://jdk.java.net/
> Liberica JDK??
> https://bell-sw.com/
> and now a Zulu JDK
> https://www.azul.com/downloads/zulu-community/
> 
> Any chart somewhere on how many versions there are, who maintains them, and why anyone should choose one over the others?

It is actually not that complicated.

There is the open source OpenJDK project that maintain the reference
version of Java.

There are then a large number of builds based on that code:
* jdk.java.net
* AdoptOpenJDK
* Azul Zulu
etc.

They are all build from OpenJDK source, so same code. Just different
packaging and maybe some extra's *outside* of Java SE.

Then there are the commecial Java's:
* Oracle
* IBM
etc.

Oracle Java share almost all code with OpenJDK, but do come with
a few extras.

IBM supposedly get code from Oracle but replaced a few pieces with
their own code including a new JVM.

And Java is standardized. So if you use only documented features
of Java version X then any Java X implementation should work.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How do I compile my Java 8 SE code with OpenJDK 11? Eric Douglas <e.d.programmer@gmail.com> - 2019-07-03 12:13 -0700
  Re: How do I compile my Java 8 SE code with OpenJDK 11? Eric Douglas <e.d.programmer@gmail.com> - 2019-07-03 13:49 -0700
    Re: How do I compile my Java 8 SE code with OpenJDK 11? Arne Vajhøj <arne@vajhoej.dk> - 2019-07-03 22:01 -0400
    Re: How do I compile my Java 8 SE code with OpenJDK 11? Eric Douglas <e.d.programmer@gmail.com> - 2019-07-05 06:26 -0700
      Re: How do I compile my Java 8 SE code with OpenJDK 11? Andreas Leitgeb <avl@logic.at> - 2019-08-02 07:00 +0000
        Re: How do I compile my Java 8 SE code with OpenJDK 11? Eric Douglas <e.d.programmer@gmail.com> - 2019-08-02 05:42 -0700
  Re: How do I compile my Java 8 SE code with OpenJDK 11? Andrew J <aj@f-m.fm> - 2019-07-04 01:45 -0400
    Re: How do I compile my Java 8 SE code with OpenJDK 11? Knute Johnson <groups@585ranch.com> - 2019-07-13 14:46 -0500
      Re: How do I compile my Java 8 SE code with OpenJDK 11? Eric Douglas <e.d.programmer@gmail.com> - 2019-07-15 07:09 -0700
        Re: How do I compile my Java 8 SE code with OpenJDK 11? Arne Vajhøj <arne@vajhoej.dk> - 2019-07-15 21:49 -0400

csiph-web