Note: You should keep mysql-connector-java-5.0.6-bin.jar in the directory that you won’t delete it (ex. New Window appears, browse to the file ‘mysql-connector-java-5.0.6-bin.jar’ and click Open.And on right side in Compile tab, click Add JAR/Folder. The Categories on left side, select Libraries. In Projects window, right click the project name and select Properties.Next, I create a new Java project on NetBeans named ‘TestMySQL’ and add ‘mysql-connector-java-5.0.6-bin.jar’ that I’ve just extracted from previous step to the project’s library. ![]() Add JDBC Driver to the project on NetBeans (Add a library). ![]() Just copy the file to the library folder, for example to “C:\Program Files\Java\jdk1.6.0_02\lib” directory. ![]()
0 Comments
Leave a Reply. |