Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Fatal exception occurred. Program will exit."

 
Grégoire Berclaz
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic