Hello,
I’m not new to Java but this is the first time I’ve really bothered to “Jar up” my classes or create an exe out of them. I’ve tried so many different methods, all of which bring up the same error: “Exception in thread “main” java.lang.NoClassDefFoundError: BoardDesign (wrong name: testProject/BoardDesign).
I’ve tried using JBuilder directlyt create the jar file,
tried using the jar.exe program;
I have a manifest.exe,
and run the command: jar cvmf manifest.txt appName.jar *.class
then try and run it through using java -jar appName.jar but same error as above
Even tried downloading some third party software to do it for me but all come back with same problem.
I have a main method that is being pointed at by manifest file so i just don’t understand why it won’t run; start of main method and class as shown below:
[CODE]public class BoardDesign {
//entry point for application
public static void main(String[] args) {.. }
}
I would be grateful for any help on this one, thanks