I’m using LWJGL to make a game.
Now I have a demo version that works perfectly but when I try to export it into a runnable jar file that file doesn’t work.
I am using Serializable to store the state I need it to start in, which as I said works perfectly when started in Eclipse.
One thing that I noticed is that when I try to export it I get a warning message I have never seen before, maybe that is the reason? The message says as follows:
This operation repacks referenced libraries.
Please review the licenses associated with libraries you wish to reference to
make sure you are able to repack them using this application. Note also that
this operation does not copy signature files from original libraries to the
generated JAR file.
This error message did not appear if I changed the export setting from “Extract required libraries into the generated JAR” to “Package required libraries into generated JAR” but it made no difference. The program still didn’t work.
At least it seems like it didn’t crash, using the Task Manager it’s possible to see that the java virtual machine is running until you stop it and it doesn’t say that it’s not answering so it shouldn’t be completely crashed down.
Anyone has some ideas?