how to convert a java file to .exe

Hey i have a game that i have created and it has like 10 java files and one of them is the main file that i run and compile and it runs the entire game as a GUI. I also i have some images and sounds. What i want to be able to do is put all this in one file as a .exe and all i have to do is just double-click on it and it will run with no problem. I don't want to everytime have to open emacs and compile the program then click on run app. If anyone can help i would really appreciate it. If there are any free programs because InstallAnywhere is not free anymore. thanks

mdawg

[599 byte] By [mdawg] at [2007-9-26 18:05:05]
# 1

Hello mdawg,

I am not sure if you can include ALL the files into the executable, but I might have some info of some use in reaching your goal... I know one way of converting a. class file to an .exe file is to use a tool named jexegen. This tool I believe will successfully do what you need. I have enclosed a link regarding jexegen:

http://www.math.uwaterloo.ca/~elterra/Generating%20.exe%20from%20.class.html

Best of Luck!

Ming Chou

Developer Technical Support

http://www.sun.com/developers/support

FlamingJavaBean at 2007-7-3 1:43:33 > top of Java-index,Developer Tools,Java Compiler...