I've looked up how to export .jars in eclipse online for hours. I've tried all the tutorials and have not been able to open my game. I've used the command prompt with
java -jar <name>
and get an error that says
Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException.
Here's how I export my .jar in eclipse:
- right click on the project and click on "export..."
- select "jar"
- select src, lib and resource folders
- select .classpath and .project
- select only "Export generated class files and resources"
- select destination
- click next twice
- select "Generate manifest file"
- select the main class
- click finish