You are on page 1of 8

Connecting Eclipse with Oracle Database

1) Open Eclipse->go to window Menu->Show view-> Select other option

2) Expand Data management menu-> select Data Source Explorer


3) Data Source Explorer View

4) Right Click on Database Connection-> select New->


5) Select oracle in connection profile and click on next

6) Click on new Driver definition in new connection profile window

7) Select Oracle Thin Driver with version 10 in Name/Type tab


8) Click on JAR List tab->select Ojdbc14.jar ->click on Edit Jar/Zip

9) Select the ojdbc14.jar in following path, and click

C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib
10) Click OK in New Driver Definition window

Following window will appear on the screen


11) Enter the following details in the window and click on Test
connection

SID: XE
Host: localhost
portNumber: 1521
UserName: System
Password:12345
12) Expand New Oracle in Database connection of data source
explorer

You might also like