Yes I did it !
But now, I resolved my problems.
I forgot to update the classpath of the Java Tab of JRUN.
And I installed JDK1.1 because ORACLE provides only JDBC drivers for JDK1.1
(classes111.zip).
Thanks for your response.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: lundi 1 mars 1999 19:08
To: CAILLET, CEDRIC /NON-HP-FRANCE,OM4
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Can't load oracle.jdbc.driver.OracleDriver !
Have you installed Net8 as well ?
[EMAIL PROTECTED] wrote:
>
> I can't load the "oracle.jdbc.driver.OracleDriver" class
> from my servlet.
> I use JRUN 2.3.
> I included my classes.zip where are every class from oracle in my CLASSPATH
> system.
> But I can't load this class.
> I have one "ClassNotFoundException oracle.jdbc.driver.OracleDriver" Exception.
> Here is my code :
> //************************************************
> public void Connecting(){
>
> try {
> // Load the Oracle JDBC driver
> Class.forName ("oracle.jdbc.driver.OracleDriver");
> // Connect to the database
> // You can put a database name after the @ sign in the connection URL.
> Connection conn =
> DriverManager.getConnection ("jdbc:oracle:oci8:@tacos", "logindba",
> "ld4twt1");
>
> // Create a Statement
> Statement stmt = conn.createStatement ();
>
> // Select the ENAME column from the EMP table
> ResultSet rset = stmt.executeQuery ("select * from profile");
>
> // Iterate through the result and print the employee names
> while (rset.next ()) out.println (rset.getString (1));
> }catch(java.sql.SQLException e){
> out.println("Probleme SQL:"+e.getMessage());
> }catch (java.lang.ClassNotFoundException e){
> out.println("ClassNotFoundException:"+e.getMessage());
> }//end try
>
> }//end function
> }
> //*******************************************************
> An Idea for my problem.
> Thanks for your help.
--
Ultan O'Carroll
Systems Consultant
Orbis Publishing Ltd