aspose file tools
The moose likes JDBC and Relational Databases 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running JDBC programs in command prompt
 
It's not a secret anymore!