Re: making Exe files out of java files





chethantr@xxxxxxxxx wrote on 02.12.2006 17:44:
Hi Everybody,
i have developed a java application using netbeans5.5. Now i want to
create a exe file of it to distribute or some other file like .jar
files for distribution. i tried nativej and exe4j to do it, it is not
working and throwing exception called
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdesktop/layout/GroupLayout$Group

You have to distribute the swing-layout-1.0.1.jar with your application. This is usually located in netbeans_home/platform7/modules/ext (although I'm a bit surprised, because I thought that NB 5.5 copies that file automatically to your dist folder and includes are reference to it in the manifest file of the created jar file)

Thomas
.



Relevant Pages

  • making Exe files out of java files
    ... i have developed a java application using netbeans5.5. ... create a exe file of it to distribute or some other file like .jar ... Exception in thread "main" java.lang.NoClassDefFoundError: ...
    (comp.lang.java.programmer)
  • Re: Accessing a JAR File at runtime
    ... Still having trouble getting my java application to find the jar file ... Exception in thread "main" java.lang.NoClassDefFoundError: ... napkin/NapkinLookAndFeel ...
    (comp.lang.java.help)
  • Re: run my program without a jar file on linux
    ... How to run it without using the jar file? ... I try to run it on bash but it fail: ... Exception in thread "main" java.lang.NoClassDefFoundError: ... java -classpath /path my.program scripts/test1.jsc ...
    (comp.lang.java.programmer)
  • Re: What do you do with a .jar file?
    ... so I have this .jar file. ... If I open it using 'java ... Exception in thread "main" java.lang.NoClassDefFoundError: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: What do you do with a .jar file?
    ... so I have this .jar file. ... If I open it using 'java ... Exception in thread "main" java.lang.NoClassDefFoundError: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)