This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes Running JDBC programs in command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Running JDBC programs in command prompt" Watch "Running JDBC programs in command prompt" New topic
Author

Running JDBC programs in command prompt

aditya sural
Greenhorn

Joined: Mar 25, 2011
Posts: 8
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running JDBC programs in command prompt