com.sun.jdi.invocationexception occurred invoking method
Question:
How to make eclipse point to java5
How to make eclipse point to java 5
Way to make eclipse Galileo use java sdk/jre 5 or 6
How to change installed jre paths in eclipse
How to change the java compilation unit to 5 or 6 in eclipse
Answer:
Changing the compilation levels and jre is very easy
Go to Window menu,
Window à preferences à Click on java tree à Select Compiler
In the right side of window, Set the required compilation level ( 5 or 6 ).
To change the default jres
Window à preferences à Click on Installed JRE's
In the right side it will be listing out the available JREs
Check the required jre, If not found use the option
Add à Standard VM à Give the JRE home path
( eg. C:\Program Files\Java\jre1.5.0_06 )
Click on Finish.
Restart eclipse for best result.
No comments :
Post a Comment