Link to home
Start Free TrialLog in
Avatar of AussieSilver
AussieSilver

asked on

eclipse - JRE or JDK errors

I got another error when I click run in Eclipse !!

The error is :

Java Virtual Machine Launcher.

Error: could not open c:\Program Files(x86)\jre6\i386\jvm.cfg

Cheers,
Avatar of Jan-Martijn
Jan-Martijn

Hi

Does that directory contains: jvm.cfg?

It sounds like installing Java again.
Avatar of AussieSilver

ASKER

yes... I likly find the problem but i do not know how to solve it:

The isuue is the my projects were created using JRE 5 and  have JRE 6 now... Do you have any idea how I can change my current projects to work with JRE 6?
That would not be the problem. That's backwards compatible. What i don't understand is that the error is refering to the JRE, buit jou installed the JDK last time.

I think it is wise to un install all java JDK's en JRE's on your system and than install your new jdk.

If you keep the error in eclipse, you need to change the setting within eclipse self. In the properties in eclipse you can tel witch JDK to use.

Hope this helps
I will uninstall them now... Can you give the proper link to install the JDK and JRE?
ASKER CERTIFIED SOLUTION
Avatar of Jan-Martijn
Jan-Martijn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the download for the newest JDK:

http://java.sun.com/javase/downloads/widget/jdk6.jsp

Installation instructions stand on the right.
Thanks....
no problem :-)