chima
asked on
-vm in eclipse.ini pointing to JDK
Hello
It is obvious that -vm is not pointing to the JDK, so I ask how shall I do this? I searched the interent to a solution, but did not find one. I have the eclipse.ini open, and do not see a -vm setting.
A verification that Eclipse is asking for; is to verify that JRE is using the JDK. How shall I do this?
This is the message I am getting;
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
It is obvious that -vm is not pointing to the JDK, so I ask how shall I do this? I searched the interent to a solution, but did not find one. I have the eclipse.ini open, and do not see a -vm setting.
A verification that Eclipse is asking for; is to verify that JRE is using the JDK. How shall I do this?
This is the message I am getting;
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think you should leave just one inside one of JDK's
ASKER
Yan, which one? The first one?
I think it does not matter much.
You can read this one:
(they mostly say that no much difference):
http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client
You can read this one:
(they mostly say that no much difference):
http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client
But of couse I mean the ones inide JDK, not JRE.
Use this one:
C:\Program Files\Java\jdk1.6.0_23\jre \bin\clien t\jvm.dll
Use this one:
C:\Program Files\Java\jdk1.6.0_23\jre
>>CEHJ, I will set the environment variables as well,
That's ALL you should need to set. Setting JAVA_HOME should make it use the correct vm
That's ALL you should need to set. Setting JAVA_HOME should make it use the correct vm
... what's more - you should avoid setting -vm it or it could simply break when you upgrade java
ASKER
C:\Program Files\Java\jre6\bin\client
C:\Program Files\Java\jdk1.6.0_23\jre
C:\Program Files\Java\jdk1.6.0_23\jre
So I would think that this would work for the ini file;
-vm
C:\Program Files\Java\jre6\bin\client
C:\Program Files\Java\jdk1.6.0_23\jre
C:\Program Files\Java\jdk1.6.0_23\jre
Please let me know if the -vm will NOT search the 2nd and 3rd paths.
CEHJ, I will set the environment variables as well,
thanks