Issue
This doesn't work -vm %JAVA_HOME%/bin/javaw.exe
How can I replace %JAVA_HOME%
with full path on Windows 8 when path contains space ("Program Files" directory)
Solution
Have you tried it. Don't put everything in single line.
-vm
C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe
Need to put the folder that contains the javaw or java executable. Under Ubuntu 18 with eclipse 4.7.1 I was able to get it to run with:
-vm
/usr/lib/jvm/java-8-openjdk-amd64/bin
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133
-vmargs
-Xmx2G
-Xms200m
-XX:MaxPermSize=384m
If it doesn't work then please confirm you have added above lines before -vmargs
in eclipse.ini
.
Answered By - Braj
Answer Checked By - David Goodson (JavaFixing Volunteer)