Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (7k points)

 I want my Java program to be a runnable JAR file i.e, an exe file. The problem is in Eclipse IDE, when I export the Java program that is heavier in size choosing the Extract required libraries into generated JAR option, it is taking me forever to compile and load that JAR file.

Can anybody help me with this?

1 Answer

0 votes
by (13.1k points)

Instead of Eclipse use Maven or Gradle to build your application as they will give you better dependency management. Also, use Launch4J to create a Windows exe launcher for your application. It contains an embedded JRE so your application can run standalone.

Want to learn Java? Check out the core Java certification from Intellipaat.

Related questions

0 votes
1 answer
asked Feb 20, 2021 in Java by Jake (7k points)
0 votes
1 answer
asked Nov 20, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...