Bug 561333 - Fail to start Java 14 / Linux (Fedora 31)
Summary: Fail to start Java 14 / Linux (Fedora 31)
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.15   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 19:51 EDT by Michael Katzmann CLA
Modified: 2020-03-26 12:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Katzmann CLA 2020-03-21 19:51:15 EDT
Startup failure using Java 14

Version: 2020-03 (4.15.0)
Build id: 20200313-1211

with ... marketplace solution provides Java 14 support for Eclipse 2020-03 (4.15). 

Fails to start with the following error:

WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.jpackage
Error: LinkageError occurred while loading main class org.eclipse.equinox.launcher.Main
	java.lang.ExceptionInInitializerError: null

This is a Linux (Fedora 31) installation.
I tried this with a new eclipse installation and had the same result.
Can only start with Java 13.
Comment 1 Michael Katzmann CLA 2020-03-22 13:47:33 EDT
additional information:  It **DOES** works on Oracle Java release (java 14 2020-03-17) but not open JDK release.

OK:
java 14 2020-03-17
Java(TM) SE Runtime Environment (build 14+36-1461)
Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

Fails to start:
openjdk version "14" 2020-03-17
OpenJDK Runtime Environment 19.9 (build 14+36)
OpenJDK 64-Bit Server VM 19.9 (build 14+36, mixed mode, sharing)
Comment 2 Silvio Bierman CLA 2020-03-26 12:50:40 EDT
I have exactly the same problem on Fedora 32 beta. Worked fine with Java 13 but when java-latest-openjdk upgraded to Java 14 Eclipse would no longer start.

The bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=561273 suggests that it might be a more general problem with Java14.