I’m currently using an IDE for writing a java application and testing it. In the IDE, I can run the application and see how it works. However, how would I run the application using a shortcut, or a jar file?
For example, in order to run my WAMP server, I run the wamp.exe file in the WAMP directory. So, I’m running a single file which launches the entire program. How do I achieve this sort of thing with a java application? I’ve heard about using a jar file, but I’m unsure about whether that would be the proper way to do this or not.
I’m currently using an IDE for writing a java application and testing it. In
Share
It depends on the IDE you are using. With eclipse for example, you open up the file tab, select export, open java in the tree, and select runnable jar file. Then fill the interface out and your good to go.