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
How to Convert POTS line to SIP Phone with AudioCodes MP-114 FXO
windows 7 on microsoft virtual pc, The protocol http does not have a registered program
Can't ping a XP pro workstation on Windows Network
Change Cisco Call Manager Express from Analog FXO lines to Integrated T1
Is it possible to change the Master Browser on a network...
SSL partially on a site
Help with upgrading Cisco CME to 7.1
Domain and Workgroup ?
DHCP client service won't start
remote printing using a static IP