já vi diversos tópicos referente ao assunto porem não consegui resolver meu problema.
em qualquer outra maquina com java nao consigo abrir meu jar…
ele no windows nao acontece nada (clica duas vezes e faz nada)
no prompt do DOS eu digito “java -jar *.jar” e aparece a seguinte mensagem
[b]C:>java -jar Testin.jar
Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError:
org/netbeans/lib/awtextra/AbsoluteLayout
at testin.Principal.initComponents(Principal.java:54)
at testin.Principal.(Principal.java:23)
at testin.Principal$2.run(Principal.java:131)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.netbeans.lib.awtextra.AbsoluteLayout
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 17 more
[/b]
ja vi em alguns topicos, q esse erro é devido a falta da biblioteca AbsoluteLayout e que teria
q adicionar ela no projeto… porem no meu projeto ja esta adicionada
alguem poderia me ajudar…
segue tbm o manifet
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.3
Created-By: 1.7.0_07-b11 (Oracle Corporation)
Class-Path: lib/swing-layout-1.0.4.jar lib/AbsoluteLayout.jar lib/bean
sbinding-1.2.1.jar lib/mail.jar lib/commons-email-1.2.jar lib/swing-l
ayout-1.0.4.jar
X-COMMENT: Main-Class will be added automatically by build
Main-Class: testin.Principal