I am trying to run the installer for Eclipse 64-bit and I get an error message:
Version 1.7.0_10 of the JVM is not suitable for this product. Version: 1.8 or greater is required.
When i run java -version
on the command line, I get:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode, sharing)
Please help, i just want to get up and running with Eclipse. Thanks!
The latest release of Eclipse requires a 64-bit JVM, and does not support a 32-bit JVM. Current releases of Eclipse require Java 11 JRE/JDK or newer. A Java Development Kit (JDK) includes many useful extras for Java developers including the source code for the standard Java libraries.
follow this steps
step1 : just go and find the location of eclipse in your system
step2 : open the "eclipse configuration file" and search "-vmargs" in this file just go one line above of "-vmargs" and hit enter for blank space now type here "-vm" and hit enter
step3 : go and copy the bin folder of jdk11 and paste it below the "-vm" then add this "\javaw.exe", see the demo below then save it and now run the eclipse ide
example in my case
-vm
C:\Program Files\Java\jdk-11.0.9\bin\javaw.exe
-vmargs
I had the problem with STS 4 on Windows 10 that needed JVM V11.
After JDK installation, you must add the bin path of the JDK in your PATH
environment variable, in the first position, to ensure the system will use the right version.
Screenshot:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With