Quote:
Originally Posted by Oromus
While that does fix this problem, it ONLY fixes it for Eclipse and not for any other programs that may be expecting the JAVA_HOME variable to be pointing a JDK. Correcting the JAVA_HOME variable ensures this issue won't arise on any other programs.
|
Thou due to Eclipse using JREs, it does not look at the system variable JAVA_HOME so you still need to set the location of the JDK in the preferences of Eclipse if you want to compile the code for the bot in Eclipse using Java