Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java for Windows Missing(Trying to install 2019 and I get the above error)
Java for Windows Missing(Trying to install 2019 and I get the above error) [message #1815923] Tue, 15 October 2019 08:52 Go to next message
Heting Zhang is currently offline Heting ZhangFriend
Messages: 2
Registered: October 2019
Junior Member
I try to open eclipse-inst-win64.exe to install eclipse 2019. But I get this error report:
index.php/fa/36554/0/

Unfortunately the Java version needed to run Eclipse Installer couldn't be found on your system. You need the following version or a higher version.


I have search in forum, two main reason for this are JAVA_HOME/PATH not configured correctly and JVM is 32bit while OS is 64bit. But I check my system environment variable and JVM, Both of them are correct. And my JVM version is jdk1.8.0_172.

index.php/fa/36553/0/


Does anyone know how to make eclipse recognise my JDK ?


Re: Java for Windows Missing(Trying to install 2019 and I get the above error) [message #1815925 is a reply to message #1815923] Tue, 15 October 2019 10:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33222
Registered: July 2009
Senior Member
Is javaw.exe also on your path? The installer looks in many places, including the system registry, the JAVA_HOME variable, and on all the folders on the PATH. It probes each using javaw.exe however, which is why I ask.

You can also run the installer from the command line and specify explicitly which JVM to use, e.g.,
.\eclipse-inst.exe -vm "C:\Program Files\Java\jdk1.8.0_121\bin"


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Java for Windows Missing(Trying to install 2019 and I get the above error) [message #1816138 is a reply to message #1815925] Tue, 22 October 2019 06:52 Go to previous message
Heting Zhang is currently offline Heting ZhangFriend
Messages: 2
Registered: October 2019
Junior Member
Sorry to reply you so late. I check my path, javaw.exe is on the same directory with java.exe .

This picture shows my %JAVA_HOME%/bin, java,javaw are all here and they are 64bit.

index.php/fa/36598/0/



And I use code like .\eclipse-inst-win64.exe -vm "xxx" and get the error message like this:
index.php/fa/36597/0/



So, I choose to use the full package instead of eclipse-inst. I download the full package "2019-09/R/eclipse-jee-2019-09-R-win32-x86_64.zip" , unzip it and then double click to start it. It works well.
Previous Topic:Eclipse RCP-Plug-in "com.masterdemo" was unable to instantiate class com.master.rcp.Master
Next Topic:Eclipse JAVA EE for Linux 32bit
Goto Forum:
  


Current Time: Thu Oct 03 20:34:07 GMT 2024

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

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

Back to the top