This is the result
mvn -version

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 
2014-02-14T11:37:52-06:00)
Maven home: C:\Program Files (x86)\ApacheSF\apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jre7
Default locale: es_MX, platform encoding: Cp1252
OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"

El 09/05/2014 01:40 a. m., Ben Caradoc-Davies escribió:
> On 09/05/14 14:09, Andrea Aime wrote:
>> On Fri, May 9, 2014 at 1:29 AM, Oscar Cano R <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     Good afternoon, I'm starting to try to work with the code,
>>     everything works fine for me 2.2.x branch, but when I work with
>>     branch 2.4.x, when running the command "mvn clean install" gives me
>>     the following error. (attached file)
>>     What am I doing wrong?
>>
>>
>> It seems the compiler is not found:
>> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the
>> environment.
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] Failure executing javac,  but could not parse the error:
>> "javac" no se reconoce como un comando interno o externo,
>> programa o archivo por lotes ejecutable.
>>
>> Did you setup your JAVA_HOME correctly?
>>
>> Anyways, in branch 2.4.x I believe all developers already switched to
>> maven 3,
>> that might be a factor too (and oh, the branch is supposed to be built
>> with java 6)
>
> Oscar, please also check that you have a JDK installed, not just a JRE 
> (which lacks the compiler). I do not know why 2.2.x works; did you use 
> the same maven and java?
>
> Try:
>
> mvn -version
>
> to discover the maven and java version used in your current environment.
>
> Kind regards,
>


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to