Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to place jdbc jar for mysql

 
ricky gonzalez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was wondering where to put the jdbc jar for mysql?
Thanks!
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All jar files need to be on the classpath. The classpath will need to be updated to contain the actual jar file.
Example:
classpath=.;c:\java\lib;c:\java\lib\mysql.jar
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or if you are using Java 2, you can put jars in the jre/lib/ext directory and they will be picked up automatically.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic