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)
As far as I know, to invoke the JVM, Eclipse executes the java command, so, if it's at your system execution path, Eclipse won't need to find the instalation directory. So, Eclipse first looks inside its eclipse/jre dir for installed VMs, if empty, consults the eclipse.
Have you tried it. Don't put everything in single line.
-vm C:\Program Files\Java\jdk1.6.0_07\bin\
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
.
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