ssik2000
ssik2000

Reputation: 1

JAR file Database connection

a Database acces and Search Program.

  1. a JAR file make use Windows command
  2. a JAR file make use Eclipse Export->Jar file

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

Answers (1)

Robel Sharma
Robel Sharma

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

Related Questions