In section d, explain how to make your game distributable, I followed the steps, but Mygame.jar is not yet distributable, I just get a debug.txt file that says(and can’t see anything else) :
17/08/2007 01:00:42 AM com.jme.app.BaseGame start
INFO: Application started.
17/08/2007 01:00:42 AM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
17/08/2007 01:00:42 AM com.jme.system.PropertiesIO load
ADVERTENCIA: Could not load properties. Creating a new one.
17/08/2007 01:00:43 AM com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
17/08/2007 01:00:43 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
17/08/2007 01:00:43 AM com.jme.app.BaseGame start
INFO: Application ending.
Does anyone know what I missing?, maybe I need add another file. Thanks for your help.
you probably get some kind of exception why don't you post it here.
if you want to see your exception open the console and type "java -Djava.library.path=xxxxxxxxx -jar yyyyyyyyy" where xxxxxxx is path to your dll's and yyyyyyyyyy the path to your jar file.
Thanks for your idea, I did it in the console, and it worked. So the problem are the libraries. How can add them to my jar? I doesn't say anything about them in the set up.
I was hoping I could add the libraries withouth using "java -Djava.library.path=xxxxxxxxx -jar yyyyyyyyy", but I think the project is working. Thanks for your help
Unfortunately there is no easy way to include the native libraries or java.library.path in the jar file. Renanse has pointed out this, so if he does not know how, then probably simply there is no workaround. :’(