Erro ao gerar o .jar com jdk 1.5

1 resposta
rodolfogs8
Galera to usando o Net Beans e estou construindo meu projeti(gerando o jar) so que quando estou com a jdk 1.6 instalada na maquina rola perfitamente quando desinstalo a jdk 1.6 e instalo a 1.5 ele da esse erro
init:
deps-jar:
Compiling 65 source files to V:\Aplicacao\build\classes
javac: invalid target release: 1.6
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files
  -cp <path>                 Specify where to find user class files
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -d <directory>             Specify where to place generated class files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

FALHA NA EXECUÇÃO (tempo total: 2 segundos)

ObS: preciso criar o jar usando a 1.5 alguem sabe o que faco?

valeu

1 Resposta

rodolfogs8

?

Criado 8 de outubro de 2007
Ultima resposta 8 de out. de 2007
Respostas 1
Participantes 1