I have downloaded and extracted Eclipse. I have Eclipse in the following directory: C:\Applications\eclipse
. When I try and run the executable , I get the following message :
I currently have the following folder:
C:\Program Files (x86)\Java\jre7
Do I need to set up some environment variables for my Windows 7 OS to get Eclipse to run ? If so , may I please have some help to do this ? If not , can I please have some help to get Eclipse to run .
EDIT
I have changed the shortcut to include the path to the Virtual Machine , and am now getting this error :
http://www.canning.co.nz/Eclipse/Eclipse_Message2.png
A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-03 packages based on Eclipse 4.11, as well as the Installer.
Click the Advanced tab, and then click Environment Variables. Under System Variables, look for the JAVA_HOME system variable. The JAVA_HOME path should point to the location that you recorded when you installed the JRE.
Set JAVA Executable PathIf we want to run java.exe or similar executables provided by JRE or JDK we have to add the path of Java in the Path variable like below. We select the system variable named Path and click to the Edit .
You can add this line to eclipse.ini
:
-vm D:/work/Java/jdk1.6.0_13/bin/javaw.exe <-- change to your JDK actual path -vmargs <-- needs to be after -vm <path>
But it's worth setting JAVA_HOME
and JRE_HOME
anyway because it may not work as if the path environment points to a different java version.
Because the next one to complain will be Maven, etc.
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