• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

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.............
    Bookmark Topic Watch Topic
  • New Topic