Setting Up Java 7 , Netbeans , MySQL and a JDBC Connection in Linux -3
Hi friends, I think this will be the last post on Setting Up Java , Netbeans , MySQL and JDBC Connection . The only part you are left with is setting up your JDBC connection . So what things you need to setup your JDBC connection -: 1 . MySQL Connector/J ( http://www.mysql.com/downloads/connector/j/ ) Download either or the .zip or .tar.gz file because both are platform independent files . After downloading it extract it and and find the mysql-connector.bin.jar . 2 . Now you have to copy this file in the Java directory . Here is a command to copy from your download folder to your jvm directory ----------------------------------------------------------------------------------------------------------------------- sudo cp /home/Downloads/jassi/mysql-connector-java-5.1.6-bin.jar /usr/lib/jvm/java-6-openjdk/jre/lib/ext/mysql-connector-java-5.1.6-bin.jar ----------------------------------------------------------------------------------------------------------------------- In this ...