After building and running the application file a load screen appears for a couple of seconds then disappears. After that, my program does not run.
I have tried setting up my project folder exactly like the example project from the jwrapper website. I am able to build and run the application from that example.
Not entirely sure if I have the XML correct or if I’m not creating my jar correctly.
Folder I copy jre into and run jwrapper (including jar and xml and everything else required):
http://www.4shared.com/zip/qOA-V1lnba/jwraptest.html
I go to this directory, type “java.exe -Xmx512m -jar jwrapper-00031607960.jar gameapp\jwrapper.xml” and it appears to build fine.
This is how I compiled:
javac -sourcepath $SRC -d $BIN Game.java Draw.java Frame.java
This is how I compiled jar (command line in bin dir):
jar -cvmf manifest.txt game.jar game
manifest was: "Main-Class: game.Game
"
Jar runs fine on its own. There is no error, I just can’t run the application from the build. It has a loading screen on the first run, but nothing after that. It pops up in processes but that’s about it.