How to import MySQL Driver in Jbuilder
I am creating a GUI application using swing with the help of JBuilder. I have used MySQL as Database. For connection it to java I've used MySQL J-Connector Driver. But I am not being able to import that driver(classes) in jbuilder.
When i run the application at the cmd prompt it works fine (got connected), but when i try to run it under jbuilder it gives error like
java.com.mysql.Driver class not found.
I think it is classpath problem
Please help me, setting this problem
Put it on the classpath
Either copy the "com" and "org" subdirectories and all of their contents to anywhere you like, and put the directory holding the "com" and "org" subdirectories in your classpath, or put mysql-connector-java-[version]-bin.jar in your classpath, either by adding the FULL path to it to your CLASSPATH enviornment variable, or by copying the .jar file to $JAVA_HOME/jre/lib/ext.
see:
http://dev.mysql.com/doc/connector/j/en/cj-setting-classpath.html
Hi Guys,Thanks for your response. I've resolved the problem. I want to share it with you.Actually, I was using JBuilder3 (very old version), When I tried JBuilderX, it's working fine now.