1

I have made a java application in Eclipse and it has a Main class which has the main method from which the application runs. I want that i should be able to run the application from outside the eclipse maybe by clicking on some icon.

Can anyone guide how that might be possible?

asked Sep 12, 2010 at 4:15

3 Answers 3

2

JAR file using Eclipse IDE

answered Sep 12, 2010 at 4:20
Sign up to request clarification or add additional context in comments.

Comments

0

You should build the application first,then you'll find a file with the extension ".jar" in the project's directory

you can run this jar anywhere

answered Sep 12, 2010 at 4:17

Comments

0

Once you have a Jar, you might also deploy the app. using Java Web Start.

JWS can do desk-top integration tasks like providing a desktop icon (with customized icon) and/or menu item. JWS also offers many other nice features like configurable automatic update & file associations, and offers a comprehensive API that is only available to JWS apps. The JNLP API makes persistence, single instance code and other things easy.

answered Sep 12, 2010 at 6:34

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.