Unable to create java virtual machine popup in eclipse

I want to write GC data and add the following VM argument in eclipse:

-verbose:gc 
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xmx768M 

Now, when I run the application, I get a dialog box with an error saying: "Unable to create Java virtual machine."

What is the problem?

+3
source share
4 answers

The following link explains how to provide VM arguments in eclipse.

Now, when I launch the application, I get a dialog box with an error that says "it is impossible to create a Java virtual machine."

. , eclipse can not java. eclipse.ini :

-vm
 /opt/jdk/bin/javaw.exe 

.

+2

. java 7 java 6 (http://www.java.com/en/download/manual_v6.jsp), . ( - .ini vm .. - , ).

, , , "java -version" . : "java error ". ( java.exe .. windows/system32) , .

Java-

0

, "-vm" eclipse.ini. .

0

, eclipse.ini, .

, , , , .

. , .

0

All Articles