Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Running JDBC programs in command prompt

 
aditya sural
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been trying to include mysql connector jar file, while trying to execute a JDBC program in ubuntu. Till now I have been using netbeans for executing the programs. Now, I am trying to run those in command prompt. The connector jar file is set in classpath. But still, I am gettin display as com.mysql.jdbc.Driver . Please help. I also tried using -cp(-classpath) option but still no improvements
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!