Microsoft
Software
Hardware
Network
Question : Connected Eclipse to OracleXE
I installed OracleXE on a WindowsXP computer, together with Eclipse.
I want to connect to the database using Eclipse
I can connect fine to the database using Toad
I went to Data Source Explorer/Database Connections:
I entered the following:
SID: db
Host: localhost
Port number: 1521
User name and password according to my database
The user generated URL was jdbc:oracle:thin:@localhos
t:1521:db
When I do test connection I get ping failed.
java.lang.ClassNotFoundExc
eption: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.
run(Unknow
n Source)
at java.security.AccessContro
ller.doPri
vileged(Na
tive Method)
at java.net.URLClassLoader.fi
ndClass(Un
known Source)
at java.lang.ClassLoader.load
Class(Unkn
own Source)
at java.net.FactoryURLClassLo
ader.loadC
lass(Unkno
wn Source)
I first of all set my class path to include the ODBC driver
PATH=C:\oraclexe\app\oracl
e\product\
10.2.0\ser
ver\jdbc\l
ib\ojdbc14
.jar;PATH=
C:\oraclex
e\app\orac
le\product
\10.2.0\se
rver\bin;C
:\WINDOWS\
system32;C
:\WINDOWS;
C:\WINDOWS
\System32\
Wbem
I then tried moving ojdbc14.jar to the \web-info\lib directory of my project
But this didn't help!
Best wishes
Gordontm
Answer : Connected Eclipse to OracleXE
Sorry, miss read question, same action different place: From the file menu:
Window > Preferences -> Data management -> Connectivity > Driver Definitions -> Oracle XXXX -> Edit
Random Solutions
Need an Offline Virus Scanner
Apache Configure
AD PDC Domain Losing browser Election to Intel NAS SS4200
Setting up Custom NS in Plesk 8
Suddenly cannot access network resources on Win 2003 server
Why does it take so long for Internet pages to load?
SSL WildCards
Lotus client error document has been modified or corrupted since signed (data)
Restrict acces to Computer Management
Security Webcam help needed...