How to use loadjava with oracle 10g. Error message?
-
I want to use loadjava for Java Stored Procedure on Oracle 10g. The loadjava.bat file was not available in my installation directory so I copied it from oracle 9i. But when I tried to run the loadjava command from cmd its giving below error:- The Device is not ready. I tried to run loadjava in debug mode(set DBG=echo) which gave below output:- LOOP- (loop for args parsing) MARK6 hit (append classpath) MARK7 hit (append addclasspath) MARK8 hit (append resolver) MARK9 hit (invoke loadjava) *** CLASSPATH = *** *** addclasspath = *** *** jreclasspath = "C:\Users\Toshiba\Desktop\loadj\orai18n.… Desktop\loadj\rt.jar;C:\Users\Toshiba\… r;C:\Users\Toshiba\Desktop\loadj\javax… :\Users\Toshiba\Desktop\loadj\classes1… *** *** javaprops = "-Xint" *** *** rslvarg = *** *** args = *** The device is not ready. Please help me to resolve this problem.
-
Answer:
The loadjava tool is in your Oracle bin directory, which must be in your path in order to use any command line tool such as sqlplus. You should definitely NOT copy it from another Oracle version. However you are probably using the free Express edition which does not come with Java support and so does not come with the loadjava tool. Even if you could get it to work (which you cannot), you will not be able to run the result since your database does not include any JVM. Assuming that this is for evaluation, development and testing, you are allowed to download a full edition of Oracle (SE, EE) which comes with full Java support.
Rohit Sharma at Yahoo! Answers Visit the source
Related Q & A:
- How to disable error message in file dialog?Best solution by Stack Overflow
- Why do I keep getting an error message when I use Yahoo?Best solution by Yahoo! Answers
- Why do I get an error message when I am trying to close Internet explorer page?Best solution by Yahoo! Answers
- What to do with the error message "Internet explorer has encountered a problem and needs to close?Best solution by Yahoo! Answers
- How do you get rid of a Rundll error message?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.