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: Problem setting-up JAVA

Re: Problem setting-up JAVA

From: Rauf Sarwar <rsarwar_at_ifsna.com>
Date: 21 Jun 2002 22:37:30 -0700
Message-ID: <c2d690f2.0206212137.70634a4@posting.google.com>


"Peter Chatterton" <peter_at_chatterton.name> wrote in message news:<hJwQ8.7866$YG5.1646157_at_news20.bellglobal.com>...
> Problem setting-up JAVA
>
> When i compile
> C:\orant9i\sqlj\demo\TestInstallCreateTable.java
> with javac, it can't find the Oracle class which, according to WinZip, is in
> oracle.sqlj.runtime.Oracle which i've copied to the current directory.
>
> Am i doing something stupid here?
>
> Any help would be appreciated,
> Peter.

You would need to include C:\orant9i\sqlj\lib\runtime12ee.zip file in your classpath. This file is included in 8.1.7.x...maybe 9i has a file with different name under same lib folder. Open the zip file and check for classes DefaultContext and Oracle...If both these classes exist in the zip file, then include this in your classpath, to do,

C:\> set classpath=%classpath%;C:\orant9i\sqlj\lib\<runtime12ee.zip> C:\> javac TestInstallCreateTable.java Received on Sat Jun 22 2002 - 00:37:30 CDT

Original text of this message

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