error de compilación en java
Publicado por pepo (11 intervenciones) el 06/08/2007 18:32:02
Hola,
me he bajado un programa que me dice que antes de todo, tengo que teclear estas instrucciones:
- ant install
- ant build
- ant deploy
- ant createTables
pues solo me ejecuta bien el primero de todos ( el install), los siguientes me pone que el build ha sido satisfactorio pero me dice que ha habido un error de compilación (java). Si os fijais a bajo me sale [javac] Compile failed; see the compiler error output for details y luego BUILD SUCCESSFULL. Con el ant createtables me pone al finalizar 0 de 6 tareas hechas (o sea que no lo ha hecho pero me pone que el build se ha hecho).
Yo no he programado nada de este programa, me lo he bajado y he seguido las instrucciones. Tenia que tener el java instalado, el postgresql, el ant, el jakarta-tomcat y todos ok.
¿Donde esta el log que genera el java cuando da error al compliar?
¿Alguien puede ayudarme con esto? ( Siempre estoy partiendo del que lo ha programado lo haya programdo bien)
Aqui os paso lo que me sale del terminal cuando ejecuto ant build:
Buildfile: build.xml
build:
[javac] Compiling 43 source files to /home/{...}/Desktop/{...}/war/WEB-INF/classes
[javac] javac: invalid target release: 1.5
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files
[javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
[javac] Compile failed; see the compiler error output for details.
BUILD SUCCESSFUL
Total time: 0 seconds
Gracias y un saludo
me he bajado un programa que me dice que antes de todo, tengo que teclear estas instrucciones:
- ant install
- ant build
- ant deploy
- ant createTables
pues solo me ejecuta bien el primero de todos ( el install), los siguientes me pone que el build ha sido satisfactorio pero me dice que ha habido un error de compilación (java). Si os fijais a bajo me sale [javac] Compile failed; see the compiler error output for details y luego BUILD SUCCESSFULL. Con el ant createtables me pone al finalizar 0 de 6 tareas hechas (o sea que no lo ha hecho pero me pone que el build se ha hecho).
Yo no he programado nada de este programa, me lo he bajado y he seguido las instrucciones. Tenia que tener el java instalado, el postgresql, el ant, el jakarta-tomcat y todos ok.
¿Donde esta el log que genera el java cuando da error al compliar?
¿Alguien puede ayudarme con esto? ( Siempre estoy partiendo del que lo ha programado lo haya programdo bien)
Aqui os paso lo que me sale del terminal cuando ejecuto ant build:
Buildfile: build.xml
build:
[javac] Compiling 43 source files to /home/{...}/Desktop/{...}/war/WEB-INF/classes
[javac] javac: invalid target release: 1.5
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files
[javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
[javac] Compile failed; see the compiler error output for details.
BUILD SUCCESSFUL
Total time: 0 seconds
Gracias y un saludo
Valora esta pregunta


0