Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> JDBC setup on Windows Xp!! Please help

JDBC setup on Windows Xp!! Please help

From: Samir N. Thacker <samirthacker_at_rogers.com>
Date: Sun, 20 Jan 2002 08:08:14 GMT
Message-ID: <OVu28.2414$%G.1746@news2.bloor.is>


Hi!

I am new to JDBC and so having problems setting up JDBC correctly on my machine. I have Windows XP Pro OS, Java SDK version 1.3.1_01 and Oracle 8.1.7 for Windows NT and I want to write Java applications to connect to oracle databases.

I don't know how to set up JDBC for Oracle on Windows XP machine. I tried different approaches but i always ended up with an error message as below...

"C:\Employee.java:17: cannot resolve symbol symbol : class OracleDriver
location: package driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

^
1 error"

From whatever I have read i believe that it's got something to do with classes12.zip file which is in my C:\orant\ora8i\jdbc\lib folder on my hard drive.

Can someone please provide me with a step-by-step instruction on how to set up JDBC correctly and show me what exactly I am supposed to do in Windows XP Pro to set up the environment variable values and whatever else is required to use the Thin drivers from Oracle. I have visited Oracle's site and Sun's website to find answers but they mention nothing about setting up JDBC on a Windows XP machine!!

thanks a lot in advance...

samir Received on Sun Jan 20 2002 - 02:08:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US