This content has been marked as final. Show 4 replies
you can set the path of that jar in enviornment variables or in class path.
Well, I can do something like:
but it seems as if it is not possible to nest C:\Temp\MyOhterJAR.jar and C:\Temp\MyOtherOtherJAR.jar into MyJAR.jar. In the DB schema
loadjava -u user/passwd@hostname:1521:xxx -v -r C:\Temp\MyJAR.jar C:\Temp\MyOhterJAR.jar C:\Temp\MyOtherOtherJAR.jar
C:\Temp\MyOhterJAR.jar and C:\Temp\MyOtherOtherJAR.jar appear as JAR files but they are not resolved.
This is the wrong forum!1 person found this helpful
1. Repost the question in the Database JVM forum
Java in the Oracle Database
2. Edit this thread and post the link to the new one and direct people to follow up there
3. Mark this thread ANSWERED so people will follow up in the other forum.
When you post there provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION) and review Chapter 11 Schema Objects and Oracle JVM Utilities in the Java Developers Guide
see '-recursivejars' in the Argument Summary section.
Normally, if the loadjava tool encounters an entry in a JAR with a .jar extension, it will load the entry as a resource. If this option is specified, then the loadjava tool will process contained JAR files as if they were top-level JAR files. That is, it will read their entries and load classes, sources, and resources.
The -recursivejars option was the solution. Thank you.