Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: loadjava error

Re: loadjava error

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 5 Sep 2006 15:47:21 -0700
Message-ID: <bf46380609051547m23a23b41g9670fb357813fa24@mail.gmail.com>


Here's what I would do:

point my browser at otn.oracle.com, go to the Java development section, look for simple examples and try them.

If successful, modify my code to correct whatever problem appears by examining the example code that worked.

That's what I would do.

I find that general approach works well for all manner of things.

Jared

On 9/5/06, Vivian Li <vli_at_ppoone.com> wrote:
>
>
> Hi,
>
> I have a very simple java program that I would like to load into Oracle.
>
> *$ more Hello.java*
> public class Hello
> { public static String world ()
> { return "Hello world.";
> }
> }
>
> The above java code complies successfully by itself. But, when I do
> loadjava, I get below errors:
> *$ loadjava -user userID/password -oci8 -resolve Hello.class*
> errors : class Hello
> ORA-29545: badly formed class:
>
> The following operations failed
> class Hello: resolution
> exiting : Failures occurred during processing
>
> Any ideas why this is happening?
>
> Thanks,
> Vivian
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Sep 05 2006 - 17:47:21 CDT

Original text of this message

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