aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
what changes have to be made while migrating from 1.4 mysql jdbc to 1.5 jdbc
Setting up Classpath
CLASSPATH PROBLEM
Removing Eclipse Ganymede
Run jar file