Bug 1876970 - Eclipse 2020-06 does not launch because it can't find the java-11 JVM
Summary: Eclipse 2020-06 does not launch because it can't find the java-11 JVM
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: java-11-openjdk
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-08 15:39 UTC by Bruce Bigby
Modified: 2021-01-07 15:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-07 15:53:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.