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, -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • 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
