You could try updating the JDK Eclipse is using, as follows:
Add and set the JRE in Window->Preferences...->Java->Installed JREs:
http://stackoverflow.com/questions/2222560/build-failed-question-maven-jre-or-jdk-problem
Add and set the JRE in Window->Preferences...->Java->Installed JREs:
JRE type: Standard VM JRE Name: jdk1.6.0_18
JRE home directory: C:\Program Files (x86)\Java\jdk1.6.0_18
If this is not the case, it's possible that the brackets and spaces
in the JAVA_HOME path are causing issues. Try copying your JDK to a
different location and updating your JAVA_HOME.http://stackoverflow.com/questions/2222560/build-failed-question-maven-jre-or-jdk-problem
No comments:
Post a Comment