[Gvsig_desarrolladores] Error al descargar los proyectos de gvSig 2.0 desde el repositorio en Eclipse

Jorge Piera Llodrá jpiera en prodevelop.es
Lun Mar 1 08:02:40 CET 2010


Hola Noemí.

Tienes que instalarte un JDK y no un JRE como deduzco que tienes 
instalado por lu correo.

Un saludo,
Jorge.


On 03/01/2010 01:49 AM, Noemí wrote:
> Hola otra vez, he conseguido descargarme todos los proyectos y ahora me ha
> dado el fallo al compilar los proyectos: el fallo es el siguiente
>
> [artifact:mvn] Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> [artifact:mvn] Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> [artifact:mvn] [INFO] [compiler:compile {execution: default-compile}]
> [artifact:mvn] [INFO] Compiling 11 source files to C:\Documents and
> Settings\Administrador\gvSIG-2_0-src\libCompat\target\classes
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [ERROR] BUILD FAILURE
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [INFO] Compilation failure
> [artifact:mvn] Unable to locate the Javac Compiler in:
> [artifact:mvn]   C:\Archivos de programa\Java\jre6\..\lib\tools.jar
> [artifact:mvn] Please ensure you are using JDK 1.4 or above and
> [artifact:mvn] not a JRE (the com.sun.tools.javac.Main class is required).
> [artifact:mvn] In most cases you can change the location of your Java
> [artifact:mvn] installation by setting the JAVA_HOME environment variable.
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [INFO] For more information, run Maven with the -e switch
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [INFO] Total time: 1 minute 5 seconds
> [artifact:mvn] [INFO] Finished at: Mon Mar 01 01:32:13 CET 2010
> [artifact:mvn] [INFO] Final Memory: 35M/67M
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
>
> BUILD FAILED
> C:\Documents and
> Settings\Administrador\gvSIG-2_0-src\build\ant-tasks\subversion-tasks.xml:47:
> The following error occurred while executing this line:
> C:\Documents and
> Settings\Administrador\gvSIG-2_0-src\build\ant-tasks\ant-tasks-config.xml:71:
> Java returned: 1
>
>
> A dónde tiene que apuntar la JAVA_HOME ? Tengo que instalar otro jdk o
> añadir alguna librería ??
>
> Gracias y un saludo.
>
>
> Total time: 35 minutes 22 seconds
>    


-- 
Jorge Piera Llodrá
Equipo desarrollo gvSIG
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tef: +34 963510612
Fax: +34 963510908
e-mail: jpiera en prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org



Más información sobre la lista de distribución gvSIG_desarrolladores