I just have this situation when Eclipse has run on JRE instead of JDK even if JAVA_HOME was pointing to JDK.
The solution is quite simple, but it took some time from me :(
Edit the eclipse.ini file from eclipse installation path and add the option:
-vm
jdk_path/bin/javaw.exe
But be careful this option should be configured before parameter -vmargs and the value where is JDK installed should be in new line.
No comments:
Post a Comment