aspose file tools*
The moose likes Java in General and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark ""Fatal exception occurred. Program will exit."" Watch ""Fatal exception occurred. Program will exit."" New topic
Author

"Fatal exception occurred. Program will exit."

Grégoire Berclaz
Greenhorn

Joined: Feb 19, 2003
Posts: 28
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

Joined: Mar 18, 2003
Posts: 281
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


The nice thing about Standards is that there are so many to choose from!
Grégoire Berclaz
Greenhorn

Joined: Feb 19, 2003
Posts: 28
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Fatal exception occurred. Program will exit."