469,271 Members | 1,012 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

Oracle, loading a java .jar file with loadjava

When trying to load a .jar file with the command
loadjava -v -u username/password -r .jar

I get a bunch of errors like

resolving: class net/sf/hibernate/AssertionFailure

errors : class net/sf/hibernate/AssertionFailure

ORA-29534: referenced object
AUTHOR.net/sf/hibernate/exception/NestableRuntimeException could not be
resolved

The class NestableRuntimeException is in the jar file.

I can load a simple jar that was compiled with the oracle native jvm
($ORACLE_HOME/jdk/bin/javac), but when I'm trying to import jars I
downloaded from the internet, I get unresolved errors.

Questions:

1. Do I really have to import everything in source code so the oracle
JVM compiles it itself?

2. If I CAN import jars, do they have to be compiled on the same exact
version (e.g. if oracle runs 1.4.2_02, I cannot use any jar compiled on
1.4.2_03?


Jul 19 '05 #1
0 9739

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by susmita_ganguly | last post: by
2 posts views Thread by swtwllm | last post: by
2 posts views Thread by egoldthwait | last post: by
reply views Thread by aruneeshsalhotr | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.