Re: loadjava on Linux - JDBC missing?

From: Bonminh Lam <no_spam_at_bmlam.de>
Date: Sat, 02 Dec 2000 16:01:59 +0100
Message-ID: <3A290EE6.CB908CB3_at_bmlam.de>


I downloaded the JDBC driver (thin client) from OTN and immediately it works.

Bonminh Lam wrote:

> I am running Oracle 8.1.5 on Redhat Linux 6.1. As a user on the Iinux
> box, I tried to load a Java class into the server using the loadjava
> command line tool. Of course Muffey's Law is getting in the way. The
> java class is some thing very simple:
>
> public class HelloWorld {
> public static void main (String[] args) {
> System.out.println("Hwell orld");
> }
> }
>
> And the error message I got is:
>
> internal error: unanticipated exception: java.lang.NoClassDefFoundError:
> oracle/jdbc/driver/OracleDriver
> java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
> at oracle.aurora.server.tools.LoadJava.getConnection(LoadJava.java:526)
>
> at
> oracle.aurora.server.tools.LoadJava.fileIsDifferent(LoadJava.java:442)
> at
> oracle.aurora.server.tools.LoadJava.processLoadAndCreate(LoadJava.java:1105)
>
> at oracle.aurora.server.tools.LoadJava.process(LoadJava.java:1021)
> at oracle.aurora.server.tools.LoadJavaMain.run(LoadJavaMain.java:193)
> at oracle.aurora.server.tools.LoadJavaMain.main(LoadJavaMain.java:49)
> loadjava: 1 errors
>
> It looks to me that there is no JDBC driver installed on the Linux box.
> But how does one get such things installed on a Linux machine and where
> can I get it?
>
> Any hints or pointers appreciated.
>
> --
> To reply to me directly, please mail to: bmlam at online dot de

--
To reply to me directly, please mail to: bmlam at online dot de
Received on Sat Dec 02 2000 - 16:01:59 CET

Original text of this message