Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 10:49 PM
Cindy Lee
Guest
 
Posts: n/a
Default 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?








 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles