- Convert your resource loading so that resources can be loaded from a jar
- Create jars for the native parts (i.e. the DLLs and the SOs and such) by simply zipping and renaming them to .jar
- Create jars out of your classes and your resources
- Sign all jars
- Create a .jnlp-file that loads everything. You can use the ones for the demos as examples.
- Upload the jnlp and the files to a server. Depending on the server, you might have to crate a .htaccess file make it return the proper mime-type for jnlp.
Sorry to trouble you again. But I need few clarification:
- Convert your resource loading so that resources can be loaded from a jar
I'm a little confused, java doc says to use classloader to load resources file like pictures but I have to files "*.bones* and "*.jpeg" that the game read from InputStream so does this mean I need to use the code below instead?
this.getClass().getResourceAsStream("b.bones");
- Create jars for the native parts (i.e. the DLLs and the SOs and such) by simply zipping and renaming them to .jar
what are SOs and such? I have no DLLs as I'm running on Linux.
- Create jars out of your classes and your resources
It doesn't matter if I use eclipse export feature or do it from termial right like jar cf <files>?
Lastly, I can test the jnlp file on local machine right just by running
javaws *.jnlp
Thanks.