Adding Driver for database in Netbeans IDE

How to Add Drivers :

1)Right Click on “Project Name”(pic 1)

pic1

2)Select the last option ie.”Properties”.

3)Now a seperate window will be open where you need to select the option “Libraries”.(pic 2)

pic2

4)On the right most side option will be shown as “Add jar files and folders”.

5)click there and select the location of jar files on your system.(pic 3)

pic3

6)Generally jar files are “DERBY” and”DERBY CLIENT”

7)You need to include both.

8)Generally you can find these drivers in (C:/programs files/sun/javaDB/lib/derby.jar

and  c:/programs files/sun/javaDB/lib/derby client.jar)

9)If you dont have these drivers you have to download it .

link:1)http://db.apache.org/derby/releases/release-10.1.1.0.html

2)http://www.oracle.com/technetwork/java/javadb/downloads/index.html

10)You can successful use your database in java.

Advertisements

2 comments on “Adding Driver for database in Netbeans IDE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s