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: Arnold Maderthaner <arnold.maderthaner_at_inode.at>
Date: Tue, 6 Nov 2001 17:15:49 +0100
Message-ID: <3be80ca2$1@e-post.inode.at>


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 :)
> >
> >
> >
>
>
Received on Tue Nov 06 2001 - 10:15:49 CST

Original text of this message

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