Thread View: es.comp.os.linux.programacion
1 messages
1 total messages
Started by Francisco F. Artese
Sat, 20 Aug 2005 05:33
No funciona jar construido con NetBeans
Author: Francisco F. Artese
Date: Sat, 20 Aug 2005 05:33
Date: Sat, 20 Aug 2005 05:33
192 lines
10443 bytes
10443 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Al compilar por ejemplo una de la demos que trae NetBeans, en el IDE la
aplicaci�n funciona
pero al ir al directorio /dist y hacer java -jar demo.jar, esta ya no
funciona.
Este es el debug que arroja
-
-----------------------------------------------------------------------------------------------------------------
Detected Java version: 1.4 in: /usr/java/j2sdk1.4.2_06/jre
Detected OS: Linux
parsing buildfile
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
parsing buildfile
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
with URI =
jar:file:/home/frank/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
parsing buildfile /home/frank/Pruebas/Java/AnagramGame/build.xml with
URI = file:///home/frank/Pruebas/Java/AnagramGame/build.xml
Project base dir set to: /home/frank/Pruebas/Java/AnagramGame
Importing file nbproject/build-impl.xml from
/home/frank/Pruebas/Java/AnagramGame/build.xml
parsing buildfile
/home/frank/Pruebas/Java/AnagramGame/nbproject/build-impl.xml with URI =
file:///home/frank/Pruebas/Java/AnagramGame/nbproject/build-impl.xml
Build sequence for target `jar' is [-pre-init, -init-private,
- -init-user, -init-project, -init-macrodef-property, -do-init,
- -post-init, -init-check, -init-macrodef-javac, -init-macrodef-junit,
- -init-macrodef-nbjpda, -init-macrodef-debug, -init-macrodef-java,
- -init-presetdef-jar, init, deps-jar, -pre-pre-compile, -pre-compile,
- -do-compile, -post-compile, compile, -pre-jar, -pre-pre-jar,
- -do-jar-with-manifest, -do-jar-without-manifest, -do-jar-with-mainclass,
- -post-jar, jar]
Complete build sequence is [-pre-init, -init-private, -init-user,
- -init-project, -init-macrodef-property, -do-init, -post-init,
- -init-check, -init-macrodef-javac, -init-macrodef-junit,
- -init-macrodef-nbjpda, -init-macrodef-debug, -init-macrodef-java,
- -init-presetdef-jar, init, deps-jar, -pre-pre-compile, -pre-compile,
- -do-compile, -post-compile, compile, -pre-jar, -pre-pre-jar,
- -do-jar-with-manifest, -do-jar-without-manifest, -do-jar-with-mainclass,
- -post-jar, jar, -pre-compile-single, -do-compile-single,
- -post-compile-single, compile-single, -debug-start-debugger,
- -debug-start-debuggee-applet, debug-applet, -post-compile-test-single,
- -pre-test-run, run-single, -pre-pre-compile-test, -pre-compile-test,
- -do-compile-test, -post-compile-test, compile-test,
- -debug-start-debuggee, debug, -debug-start-debugger-test,
- -debug-start-debuggee-test, debug-test, -do-test-run,
- -debug-start-debuggee-single, debug-single, test-report, -javadoc-build,
- -pre-test-run-single, -post-test-run, -test-browse, test,
- -javadoc-browse, javadoc, default, -pre-compile-test-single,
- -do-compile-test-single, compile-test-single, -do-test-run-single,
- -debug-start-debugger-stepinto, -post-test-run-single, deps-clean,
- -do-clean, -post-clean, clean, -pre-debug-fix, -do-debug-fix, debug-fix,
debug-stepinto, -do-debug-fix-test, run, debug-fix-test, test-single,
run-applet, ]
- -pre-init:
- -init-private:
Loading
/home/frank/Pruebas/Java/AnagramGame/nbproject/private/private.properties
- -init-user:
Loading /home/frank/.netbeans/4.1/build.properties
Property ${j2ee.platform.classpath} has not been set
Override ignored for property default.javac.source
Override ignored for property default.javac.target
- -init-project:
Loading /home/frank/Pruebas/Java/AnagramGame/nbproject/project.properties
Override ignored for property javac.debug
- -init-macrodef-property:
- -do-init:
Property ${manifest.file} has not been set
Unable to find ${manifest.file} to set property manifest.available
Found: test
Override ignored for property run.jvmargs
Override ignored for property javac.compilerargs
Property ${no.dependencies} has not been set
- -post-init:
- -init-check:
- -init-macrodef-javac:
- -init-macrodef-junit:
- -init-macrodef-nbjpda:
- -init-macrodef-debug:
- -init-macrodef-java:
- -init-presetdef-jar:
init:
deps-jar:
- -pre-pre-compile:
- -pre-compile:
- -do-compile:
com/toy/anagrams/lib/WordLibrary.java omitted as
com/toy/anagrams/lib/WordLibrary.class is up to date.
com/toy/anagrams/ui/About.form skipped - don't know how to handle it
com/toy/anagrams/ui/About.java omitted as
com/toy/anagrams/ui/About.class is up to date.
com/toy/anagrams/ui/Anagrams.form skipped - don't know how to handle it
com/toy/anagrams/ui/Anagrams.java omitted as
com/toy/anagrams/ui/Anagrams.class is up to date.
omitted as is up to date.
com omitted as com is up to date.
com/toy omitted as com/toy is up to date.
com/toy/anagrams omitted as com/toy/anagrams is up to date.
com/toy/anagrams/lib omitted as com/toy/anagrams/lib is up to date.
com/toy/anagrams/ui omitted as com/toy/anagrams/ui is up to date.
- -post-compile:
compile:
- -pre-jar:
- -pre-pre-jar:
- -do-jar-with-manifest:
Skipped because property 'manifest.available' not set.
- -do-jar-without-manifest:
com/toy/anagrams/lib/WordLibrary.class omitted as
com/toy/anagrams/lib/WordLibrary.class is up to date.
com/toy/anagrams/ui/About$1.class omitted as
com/toy/anagrams/ui/About$1.class is up to date.
com/toy/anagrams/ui/About.class omitted as
com/toy/anagrams/ui/About.class is up to date.
com/toy/anagrams/ui/Anagrams$1.class omitted as
com/toy/anagrams/ui/Anagrams$1.class is up to date.
com/toy/anagrams/ui/Anagrams$2.class omitted as
com/toy/anagrams/ui/Anagrams$2.class is up to date.
com/toy/anagrams/ui/Anagrams$3.class omitted as
com/toy/anagrams/ui/Anagrams$3.class is up to date.
com/toy/anagrams/ui/Anagrams$4.class omitted as
com/toy/anagrams/ui/Anagrams$4.class is up to date.
com/toy/anagrams/ui/Anagrams$5.class omitted as
com/toy/anagrams/ui/Anagrams$5.class is up to date.
com/toy/anagrams/ui/Anagrams.class omitted as
com/toy/anagrams/ui/Anagrams.class is up to date.
- -do-jar-with-mainclass:
Skipped because property 'manifest.available+main.class' not set.
- -post-jar:
jar:
BUILD SUCCESSFUL (total time: 0 seconds)
-
----------------------------------------------------------------------------------------------------------------
Que estoy haciendo mal ? acaso esta mal configurado Netbeans y por eso
no genera un jar adecuado.
estoy liado con el classPath quiesas pueda ser eso ?
Uso:
Netbeans IDE 4.1
/usr/java/j2sdk1.4.2_06
/usr/java/j2re1.4.2_09
Gracias por interesarse en mi post !!!
Saludos
- --
Dime y lo olvido, ens��ame y lo recuerdo, invol�crame y lo aprendo.
--Confucio (551-479 a. C.); fil�sofo chino.
======================================================
Francisco F. Artese Linux user #174223 Mandriva 2005
OpenPGP hkp://pgp.escomposlinux.org
Buenos Aires - Argentina - 11 Cib 14 Yaxkin 12 19 12 9 16
======================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFDBsClq0XEodxw2lkRArkgAJ9Q+mXh3BDY5LZqTiSLO1IsrLhfyQCfQ5xc
xqGMoDvxaAmR357YvbxLTGc=
=8OG+
-----END PGP SIGNATURE-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads