0

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!!!

7
Contributors
6
Replies
8
Views
9 Years
Discussion Span
Last Post by nickguletskii
0

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".

0

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...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.