Bug 1876970

Summary: Eclipse 2020-06 does not launch because it can't find the java-11 JVM
Product: [Fedora] Fedora Reporter: Bruce Bigby <bbigby64>
Component: java-11-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 32CC: ahughes, ashundi, BSipos, jerboaa, jvanek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-07 15:53:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruce Bigby 2020-09-08 15:39:40 UTC
Description of problem:

When I launch eclipse, it states that it can't find the Java 11 JVM.

Version-Release number of selected component (if applicable):

Eclipse Platform
Version: 2020-06 (4.16)
Build id: X20200822-0027
java-11-openjdk-headless-11.0.8.10-2.fc32.x86_64

How reproducible:

Steps to Reproduce:
1. Just attempt to run eclipse.
2.
3.

Actual results:

Eclipse shows an error which states that it can't find the Java 11 JVM.

Expected results:

I expect that the eclipse IDE will launch.

Additional info:

As a temporary fix, I created the symbolic link,

/usr/lib/jvm/java-11 -> jre-11
lrwxrwxrwx. 1 root root    6 Sep  3 17:28 java-11 -> jre-11

I don't know whether this is the correct solution, but it works for now.

I also set my default java to java-11 rather than java-1.8.

Comment 1 Bruce Bigby 2020-09-08 15:43:47 UTC
To clarify, within the directory,

/usr/lib/jvm

I created the symbolic link,

java-11 -> jre-11

Comment 2 Bruce Bigby 2020-09-09 14:30:37 UTC
Note: The part about my setting my default java to java 11 is irrelevant to the problem, but I noticed that although Java 11 is installed, Java 1.8 was still the default so I changed my "alternative" to Java 11.  I don't know whether this is better.  Please provide guidance.

Comment 3 Bruce Bigby 2021-01-07 15:53:32 UTC
This has been fixed so I'm closing.