Can not make jar file!

Started by Hellekin, March 25, 2007, 23:07:52

Previous topic - Next topic

Hellekin

I am doing some nice graphics programs, and they run ok when I run them trought Jcreator, but when I make a jar file I get the "couldn't find main class" error. I don't believe that the problem is when I create the jar file, because I'm pretty sure I have set it up correctly. Trying to fix this problem i found out that i can run the jar file when I delete the Display setup code (making my programs useless), and that just don't seem to make sense to me. Can anyone help me?

Fool Running

You might need to add a classpath to the location of the LWJGL .jars (this is assuming you're making an executable .jar file) inside of the .jar file.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

Hellekin

Got it working xD. Thx man.