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: problems with loadjava

Re: problems with loadjava

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 1 Aug 2002 11:47:28 -0700
Message-ID: <92eeeff0.0208011047.3bd8cf57@posting.google.com>


"Stefan Krompa? <krompass_at_fmi.uni-passau.de> wrote in message news:<aiba1p$rop$03$1_at_news.t-online.com>...
> Hi!
>
> I'm trying to load a jar-File (jdom.jar -
> http://www.jdom.org/dist/binary/jdom-b8.zip) into an Oracle database:
>
> ~> loadjava -resolve -resolver "((* krompass))" -u <username>/<password>
> jdom.jar
>
> The result is the following error message:
>
> errors : class JDOMAbout$Author
> ORA-29521: referenced name java/lang/Object could not be found
> ORA-29521: referenced name java/lang/String could not be found
> errors : class JDOMAbout$Info
> ORA-29534: referenced object KROMPASS.JDOMAbout could not be resolved
> ORA-29534: referenced object KROMPASS.JDOMAbout$Author could not be
> resolved
> ORA-29521: referenced name java/io/FileNotFoundException could not be
> found
> ORA-29521: referenced name java/lang/Exception could not be found
> ORA-29521: referenced name java/lang/Object could not be found
> ORA-29521: referenced name java/lang/System could not be found
> ORA-29521: referenced name java/util/Iterator could not be found
> ORA-29521: referenced name java/util/LinkedList could not be found
> ORA-29521: referenced name java/util/List could not be found
> ORA-29521: referenced name java/util/StringTokenizer could not be found
> ORA-29521: referenced name java/util/jar/JarFile could not be found
> ORA-29521: referenced name java/lang/String could not be found
> ORA-29521: referenced name java/io/InputStream could not be found
> ORA-29521: referenced name java/lang/Class could not be found
> ORA-29521: referenced name java/util/zip/ZipEntry could not be found
>
> ...
>
> I tried statements like
>
> ~> loadjava -resolve -resolver "((* krompass) (* -))" -u
> <username>/<password> jdom.jar
>
> as well but without success. Can anyone help me?
>
> Stefan

If loadjava can't even locate java.lang or java.util packages then either you don't have JRE installed or your CLASSPATH is not set properly. Open loadjava in edit mode and check JRECLASSPATH variable.

Regards
//Rauf Sarwar Received on Thu Aug 01 2002 - 13:47:28 CDT

Original text of this message

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