Hello everybody!!!

Can someone help me on how to create an executable file on java?
I made some applications in java but my problem is, I need to compile my program everytime I want them to run ... What I want is to compile my program once and then just execute the executable file everytime I want to run...

I hope you could help me with this one....


YOUR HELP IS HIGHLY APPRECIATED....


THANK YOU!!!

I need to compile my program everytime I want them to run

No. You compile it once to .class files. Then you run the .class files with "java MyClass".

This site should help.

How to Jar

bro!
just try to download the exe4j_windows_4_1.exe software....
ok!

What you want is an executable .jar file...
All it is, is all your already compiled .class files Zipped in one icon, which executes the .class which contains your main method... Basically, it's like an .exe file but with a .jar extension, for java...

please help me to make java file as exe file

I've heard that MinGW can compile Java into machine code...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.