Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JRE when using Eclipse Java EE IDE v2018-09 and Java 11(How to get JRE when using JDK 11)
JRE when using Eclipse Java EE IDE v2018-09 and Java 11 [message #1797120] Thu, 25 October 2018 16:27 Go to next message
G Keene is currently offline G KeeneFriend
Messages: 2
Registered: October 2018
Junior Member
1. I have been using different versions of Eclipse Java EE IDE for about 3 years.
2. I use it primarily with Maven projects and testng.
3. Since I am newly registered I am posting my question here.
4. I have downloaded Eclipse Java EE IDE v2018-09 since I understand it should work with Java 11.
5. I have installed the Java 11 Support for Eclipse 2018-09 (4.9) from the Eclipse Marketplace.
6. I have installed the JDK 11 from Oracle's site.
a. However, I discovered that the JDK 11 does not include a JRE which is required for Eclipse to work.
b. This presents a problem since all previous versions of Eclipse have worked with JAVA_HOME path as the JDK. And the JRE has been included in the JDK.
c. Since I uninstalled my older JDK and have JDK 11 installed, Eclipse will not open. Java Virtual Machine Launcher displays "Error: Could not find Java SE Runtime Environment".

I searched the forums but have found nothing on this topic.
Is there any guidance on how to get Eclipse Java EE IDE 2018-09 (4.9) to work with JDK 11?
Re: JRE when using Eclipse Java EE IDE v2018-09 and Java 11 [message #1797496 is a reply to message #1797120] Wed, 31 October 2018 17:06 Go to previous message
G Keene is currently offline G KeeneFriend
Messages: 2
Registered: October 2018
Junior Member
Understanding that a JRE older than 11 is not going to run what I develop with JDK 11, I built my own JRE within the JDK folder. So I can now run what I build in Eclipse.

C:\Java\jdk-11.0.1\jre\bin>java -version
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

However, it is annoying that Oracle has decided to shoot itself in the foot.
Previous Topic:Unexpected error
Next Topic:Running Stem
Goto Forum:
  


Current Time: Thu Apr 25 03:44:46 GMT 2024

Powered by FUDForum. Page generated in 0.06126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top