• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"Fatal exception occurred. Program will exit."

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I never see that. As usually I make my jar file, when i like to start this new file.jar, i've this message
"Java Virtual Machine Launcher(title)
Fatal exception occurred. Program will exit."
There is ~40 files in this new file.jar... It's strange because if i do an other file.jar with 8 other files there is no problem with ...
I search on internet but I only see the same question without answer...
Could everyone explein me?
Greg
 
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Greg,
It's happened to me once when I forgot to compile just before jarring and I fixed it by recompiling and then rejarring. Have you tried executing the classes in their raw format?
Ed
 
Grégoire Berclaz
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i tried it. There is no problem if i execute direct the class(main class)... But I think I found the source of my problem...
I use an oser jar file for the connection to the DB(MySQL). It's in JRE's directory(jre/lib/ext/mysql-connector-java-3.0.8-stable-bin.jar). I do only a "import ..." in my code and if i execute the class, there is no error, but if I do a jar file with the class, it comes...
What must I do with the driver for the DB?
Greg
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic