Can not create java virtual machine popup message in eclipse
12,551
The following link explains how to supply VM arguments in eclipse.
Now when I launch the application I get an error dialog that states "can not create java virtual machine".
There could be quite a few reasons for this. One common one is that eclipse cant find the java executable. You can open the eclipse.ini file and add:
-vm
/opt/jdk/bin/javaw.exe
You should replace the above path with the path of your executable.
Author by
user1325695
Updated on June 05, 2022Comments
-
user1325695 almost 2 years
I want to log the GC details and added following VM argument in eclipse:
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xmx768M
Now when I launch the application I get an error dialog that states "can not create java virtual machine".
What is the problem?