Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

error in executing executable jar (urgent......)

Yogesh Gaikwad
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I created one application and made a jar file for that using following command

jar cmf mainClass.txt jarFileName.jar packageName

The mainClass contain one line only which is -

Main-Class: psae.HelloWorld

This jar file work fine on dos prompt using following command

java -jar jarFileName parameter(if required)

But the problem is when i double click on jar file for executing the file it gives me an error like

"Fatal Exception Occured : Program will exit"

I change some setting for jar file from explorer but it wasn't work

plz reply me its urgent.............
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!