Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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

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!