is compiler correct ?  is jdk path correct?  how to verify ?
------------------------------------------------------------

                 Key: MCOMPILER-82
                 URL: http://jira.codehaus.org/browse/MCOMPILER-82
             Project: Maven 2.x Compiler Plugin
          Issue Type: Improvement
    Affects Versions: 2.0.2
         Environment: unix
            Reporter: Michael Meng
            Priority: Critical


We have the $JAVA_HOME set to /usr/jdk1.5.0_11, which is the jdk1.5.0_11 
location.

In the  maven-compiler-plugin, it says -- The default compiler is javac and is 
used to compile Java sources


1. which javac it  points to ? is it the javac under JAVA_HOME/bin ?

2. If yes, since we use the jdk1.5 already, why we still need to define the  
         <source>1.5</source>
          <target>1.5</target>
    ?

3. Please confim that the compiler does not use the JDK that  run Maven with.

Thanks
Michael


   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to