Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.classnotfoundexception com.mysql.jdbc.driver command line

 
feras almasri
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone.

I'm always facing a problem when I try to run the code from the commend line even thought if I used this commend to build up the paths



 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch. That doesn't run any code, it compiles it; is that what you want to do?

I'm not sure if the classpath works that way; try "-classpath C:\Users\fedail\Jworkspace\gawsCS2\mysql-connector-java-5.1.27-bin.jar;." - without the double quotes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic