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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle JDBC driver and Java :)

Re: Oracle JDBC driver and Java :)

From: TurkBear <jgreco1_at_mn.rr.com>
Date: Tue, 06 Nov 2001 14:00:35 -0600
Message-ID: <d9ggutcnraa8c2t83tobg7m52495pktife@4ax.com>


Is your CLASSPATH properly set?

"Arnold Maderthaner" <arnold.maderthaner_at_inode.at> wrote:

>No !
>My class includes are:
>import java.io.*;
>import java.lang.*;
>import java.sql.*;
>import java.math.*;
>import oracle.jdbc.*;
>import oracle.*;
>
>
>I get the following error:
>OraExecute.java [11:1] package oracle.jdbc does not exist
>import oracle.jdbc.*;
>^
>OraExecute.java [12:1] package oracle does not exist
>import oracle.*;
>^
>OraExecute.java [38:1] cannot resolve symbol
>symbol : class OracleDriver
>location: package driver
> DriverManager.registerDriver(new
>oracle.jdbc.driver.OracleDriver());
> ^
>3 errors
>Errors compiling OraExecute.
>
>
>I hope you can help me
>:)
>
>Arnold
>
>
>"Niall Litchfield" <n-litchfield_at_audit-commission.gov.uk> schrieb im
>Newsbeitrag news:3be80be5$0$8512$ed9e5944_at_reading.news.pipex.net...
>> My classes include
>>
>> import java.sql.*;
>>
>> Is the problem as simple as this?
>>
>>
>> --
>> Niall Litchfield
>> Oracle DBA
>> Audit Commission Uk
>> "Arnold Maderthaner" <arnold.maderthaner_at_inode.at> wrote in message
>> news:3be80b42$1_at_e-post.inode.at...
>> > Hi @ all !
>> >
>> > I'm new to this forum and i have a big problem with my Oracle 8.1.7
>Server
>> > and the JDBC drivers!
>> > I don't get a connection between a java prog (selfwritten) and the
>Oracle
>> > DB!
>> > I allways get the error that the import in java was wrong !
>> > So i think there is something wrong with the configuration of the
>drivers
>> !
>> > Any one can tell me what i have to set ?!
>> > Or are there any other posibilities to make a connection between oracle
>> and
>> > java ?
>> >
>> > Hope you can help me out :)
>> >
>> >
>> >
>>
>>
>

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!  Check out our new Unlimited Server. No Download or Time Limits! -----== Over 80,000 Newsgroups - 19 Different Servers! ==----- Received on Tue Nov 06 2001 - 14:00:35 CST

Original text of this message

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