• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jar file doesn't work properly  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For somereason when I run the Jar file that I just created, it cannot find the mysql connector...which i put on my desktop and renamed to mysql.jar...

This is what my manifest file looks like:



Anyone have any idea why this won't work? I am at a loss...
thanks in advance
 
Marshal
Posts: 56610
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have the MySQL jar in the classpath; move it to be in the same folder as this .jar. I can never remember exactly where to put it, so you may have to experiment with it until it works.
And make sure you have a blank line at the end of the mainfest file.

Try that, and if it doesn't work come back and ask again.
 
Michael Paul
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. It is sad that half the time when I post issues they are things that I knew I had to do...Just for some reason did not realize that I did not do those certain things...The manifest file was missing the space at the end. I appreciate your help!

Michael
 
Campbell Ritchie
Marshal
Posts: 56610
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome.

And we all make silly mistakes, think nothing of it.

[edit]Silly spelling misstake[/edit]
[ May 01, 2008: Message edited by: Campbell Ritchie ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!