Making a runnable file
Hi
I created a game, and i want to make a .exe file out of the porject , so the user will just click it and it will work (assuming he has a java platform on his computer...)
i tried to work with exe4j , but i had some problems with the jar files - i just don't know how to work with them
can someone please tell me how to do this?
[363 byte] By [
sariel86] at [2007-9-30 11:46:36]

Two simple options:
1) Use Web Start and create shortcuts.
2) Create bat file with simple exe to run the bat fle
/**
* C++ file to run bat
*/
#include <windows.h>
#include <string>
using namespace std;
int main(int argc, char* argv[]) {
system("bin\\MyGame.bat");
return 0;
}
REM - MyGame.bat
REM - Bat file to run jar
@echo off
TITLE Game Loader
SET CLASSPATH=myGame.jar;
start javaw myprojects.GameMain
EXIT