Original Post
Heya all,
I''m currently working on a networked boardgame in Java.
Eventually we are looking at packaging this on a cdrom, along with some pretty tutorials and the like.
In terms of distribution, I was considering placing the jre on the CDROM, and simply running a batch file that would call the jre to run on my .jar file.
This means that I don''t have to worry if the user has a older version of the jre, or even doesn''t have it at all, and therefore the game runs no matter what.
However, its often nice for the user to find a .exe rather than a .bat file lying around.
Looking into this, I found three different things:
1) Under the JNI section, there were some paragraphs about wrapping the JVM with the program into a .exe with C/C++ and running the JVM invoker from there.
2) I was wandering my way thru the Microsoft SDK for Java 4.0, and saw a program called jexegen. Never the less, I couldn''t seem to get it to work with my Sun compiled code. (In all honesty I didn''t expect it to, but I was curious to see what would happen), nor would it compile the .java files that I had writen under standard java.
3) Java Native Compilers don''t do AWT/Swing, so stuff them.
Now I am just curious if anyone has had the same issues? Has anyone had any experience with the above methods/ideas for distribution?
Any major issues/how easy/hard is it to get the program to an .exe? Should I even bother? (Cross compatability is not a huge issue here)
Cheers,
Mark
----
www.emanatemultimedia.com
----