Reputation: 1
a Database acces and Search Program.
run as 1 ... that run
run as 2 ... that error -> database connection NULL
1 source file and 2 source file same directory position, same files
please tell me , How I do about case 2 ??
.. I used library classes12.jar
Upvotes: 0
Views: 3221
Reputation: 972
download mysql-connector-java-5.1.16-bin.jar
If you have then set as an external jar file in the libraries section of Eclipse->Project->Properties->Java Build Path. Then make jar.Hope it helps.
Upvotes: 1