OpenJDK 10 zero For Mips32el java -version IncompatilveClassChangeError

Erik Joelsson erik.joelsson at oracle.com
Mon Jun 8 13:24:56 UTC 2020


On 2020-06-05 10:27, William Larson wrote:
> Hello Magnus
>
> I got the source code from the openjdk mercurial repository following the
> building.html exactly.

Which building.html are you referring to here? My guess is that you have 
accidentally found an old building.html when searching the web for 
documentation, and that old outdated document lead you to this old and 
outdated repository.

Since JDK 10 we have doc/building.[md|html] in the source repository, 
with documentation specific for that version of the source. This has the 
upside that the documentation is usually up to date and correct for that 
specific source, but it unfortunately carries the side effect of not 
being up to date on where you should get your sources (as it just points 
to itself).

The current development is now always taking place in:

http://hg.openjdk.java.net/jdk/jdk

If you need an older JDK version, you should preferably pick a 
repository in the updates project as those contain the latest fixes and 
security updates available in that release (which also includes build 
fixes):

http://hg.openjdk.java.net/jdk-updates

Also note that JDK 10 is no longer supported, so it's highly recommended 
that you at least jump to 11, which has long term support, or 14 which 
is the current latest release.

The source you have cloned is an old version of JDK 10 from mid 
development of that release. It's not expected to work well.

/Erik




More information about the build-dev mailing list