java - fail in "mvn clean install"? -


I'm new to learning Java programming! I want to make a gazer in a Maven project. After running this command, mvn clean install , I get the following error message:

The target org.apache.maven.plugins failed to execute: maven-compiler -plugin: 2.3.2: Unable to detect JAVAK compiler in project wps-demo (default-compile): compilation failure

: C: \ Program Files \ Java \ jre7 .. \ Lib \ tools jar

Please make sure that you are using JDK 1.4 or above and do not require a JRE (com.sun.tools.javac.Main class) In most cases you

P>

As your error, you are wrong in the system settings in the JAVA_HOME variable The value is ... something like C: \ Program Files \ Java \ jre6

how you can set it for example.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -