GeeCON Prague 2014*
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


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