I'm trying to make runnable jar file of my java application. Each time I follow the steps of exporting application etc. It created a jar file for my application but when I run it, it shows popup 'java virtual machine. A java Exception has occurred'. How can I resolve the issue?
Asked
Active
Viewed 162 times
-1
-
How do you create the Jar file? – Yogev Caspi May 12 '15 at 11:40
-
Are you using Eclipse? Just export to a runnable JAR by right clicking the project. – Malik Brahimi May 12 '15 at 11:44
-
yes I'm using eclipse. Each I time I export my application to runnable jar file, it just makes an archive file instead of executable file. – Amjad Zahid May 12 '15 at 11:51
1 Answers
0
This is correct, JAR IS a ZIP
JAR files are fundamental archive files, built on the ZIP file format and have the .jar file extension
Just run it!

Community
- 1
- 1

Jordi Castilla
- 26,609
- 8
- 70
- 109
-
-
sorry, wrong one... http://stackoverflow.com/questions/5774970/run-jar-file-in-command-prompt – Jordi Castilla May 12 '15 at 11:41
-
-
Dr.Y could please tell how to edit my manifest file for runnable jar – Amjad Zahid May 12 '15 at 11:44
-
-
http://stackoverflow.com/questions/11355623/how-to-make-a-runnable-jar-file – Jordi Castilla May 12 '15 at 20:25