I am currently Developing a Windows based Java Desktop Application. I am working on Eclipse IDE. I am curious to know how to Deploy my app so that others can also use my app. Also can It run if jre is not present on client's pc. Could anyone give me a detailed Procedure to do so. I have built the application by using Swing Library
Asked
Active
Viewed 2,080 times
1 Answers
0
If, I understand you right, you want to export your application as jar file? If that so, you can right click on your project and click export. Here you can choose export as jar or as runnable jar-file. I would prefer a runnable jar so you can execute that on every pc.
An another way to do that is to use maven. with maven you can package a runnable jar https://cwiki.apache.org/confluence/display/MAVEN/Tutorial%3A+Build+a+JAR+file+with+Maven+in+5+minutes

Tim Stewart
- 156
- 1
- 7

Strider
- 134
- 7
-
So the runnable jar will run without jre on clients pc? – Devansh Shah May 09 '20 at 10:26
-
No, the pc should have an jre – Strider May 09 '20 at 11:02
-
Can I make a Installer so that I can include the jre files as well? – Devansh Shah May 10 '20 at 06:32
-
Look here :) https://stackoverflow.com/questions/14685149/creating-an-installer-for-java-desktop-application – Strider May 10 '20 at 10:41