How to load jar file in oracle 9i???

Hi Friends,
Can you help me, how to load jar file oracle 9i? I have to tried to load in 10g using loadjava command but it's not working in oracle 9i because the loadjava batch file itself is not there in oralce 9i.
Is there any other way then pls let me know.
- Hiren Modi

Hi,
I have oracle version : Release 2 (9.2.0.1.0) for Windows. I have tried to execute the loadjava command from SQL prompt but its giving as below.
H:\>loadjava
The system cannot find the path specified.
Do you know why its giving error like this. I have checked in dir : C:\oracle\ora92\bin but loadjava executable file is not there in it.
- Hiren Modi

Similar Messages

  • How to load jar files from remote location

    Hi all,
    I am trying to load jar files from remote server, from a servlet which is running on OC4j.
    For doing this,First I am getting ClassLoader by using ClassLoader.getSystemClassLoader() and then type casting it to URLClassLoader.
    But by doing it I am getting ClassCastException,because oc4j returns oracle.classloader.PolicyClassLoader instead of java.net.ClassLoader.
    Appreciate if anyone can tell me how to load remote jar files using oracle.classloader.PolicyClassLoader .
    Thanks
    Harish

    Hi,
    I suppose you know about this, but just in case.
    I have used jnpl to load jar files from remote location.
    Rowan

  • Load jar file into Oracle db 10.1.0.2.0.

    Hi,
    I am trying to create a Java Stored procedure that is dependent on some other classes. The java source doesn't compile since it cannot find the imported libs.
    How can I load jar files into the database so I can get my java source to compile?
    I have heard of dbms_java.loadjava procedure, but not very clear on how to use it.
    Please let me know how I can load the jar files in to the db.
    Thanks,
    -- DR.

    http://oraclesvca2.oracle.com/docs/cd/B12037_01/java.101/b12021/dbms_jav.htm

  • How to load jar file using SQL Developer

    Dear All,
    I need urgent help to load mytest.jar to the database using SQL Developer. I am able to load individual java classes to the database using SQL developers, but i could not load JAR files. Please help me any one know how to do this using SQL Developer.
    Thanks and Regards
    John p

    I don't think that's possible, so load it through the OS with the loadjava utility.
    Have fun,
    K.

  • Loading .jar files in oracle

    I read the following lines in the site
    http://download.oracle.com/docs/cd/B10501_01/java.920/a96659/02_load.htm
    Resolving Class Dependencies
    Many Java classes contain references to other classes, which is the essence of reusing code. A conventional Java virtual machine searches for classes, ZIP, and JAR files within the directories specified in the CLASSPATH. In contrast, the Oracle Java virtual machine searches database schemas for class objects. With Oracle, you load all Java classes within the database, so you might need to specify where to find the dependent classes for your Java class within the database.
    All classes loaded within the database are referred to as class schema objects and are loaded within certain schemas. All JVM classes, such as java.lang., are loaded within PUBLIC. If your classes depend upon other classes you have defined, you will probably load them all within your own schema. For example, if your schema is SCOTT, the database resolver (the database replacement for CLASSPATH) searches the SCOTT schema before PUBLIC. The listing of schemas to search is known as a resolver spec. Resolver specs are for each class, whereas in a classic Java virtual machine, CLASSPATH is global to all classes.*
    When locating and resolving the interclass dependencies for classes, the resolver marks each class as valid or invalid, depending on whether all interdependent classes are located. If the class that you load contains a reference to a class that is not found within the appropriate schemas, the class is listed as invalid. Unsuccessful resolution at runtime produces a "class not found" exception. Furthermore, runtime resolution can fail for lack of database resources if the tree of classes is very large.
    Question is ....
    do we realy need to mention -resolve option when using load java to load the .jar files?
    because... i read some where that when the java procedure gets executed it willl first search for the classes in current schema.... then it finds for the objects in public schema...
    now if its searchingg them in current schema why is -resolve required?
    my scenario
    i have a base class which calls alll the classes that are inside the .jar file
    i loaded the base class first..
    then loaded all the .jar files ..
    in both the above options the .jar files contains user defined classes... and they are not present in oracle jvm library.. .so how do i need to proceed here?

    Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.

  • How to load XML files into oracle

    I am new to XML.I have a few XML files.I want to load them into oracle.I have oracle client on my win2000 machine version 8.1.6.3.
    I cannot find Loadjava.jar file in ORACLE_HOME\bin directory.
    Where is the XSU-dsl and the XDK utility?Do i need to down load it?

    This forum is dedicated to the XML Features of 9iR2, and to a lesser extent 9i. Questions related to XML and earlier versions of the database should be posted in Technologies -> General -> XML...
    I will move this thread to the appropriate forum if required.

  • How to load .jar files of subfolder in web-inf/lib folder?

    Hi All,
    In 'webapps\myappliction\WEB-INF\lib\myfolder' and in myfolder have some .jar files. How to load subfolder jar files in weblogic server 10.0?
    Do I need to configure subfolder jar path in web.xml? Please help me.
    Thanks & Regards,
    Gangadhar

    Class loaders associated with a Web application can be configured to locate local classes first. To enable this we have to set the <prefer-web-inf-classes> to true in the deployment override weblogic.xml, for example
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    http://blog.transfer-solutions.com/2010/12/weblogic-class-loading/

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • How to load jar file in one shot?

    I have a Java app refers some jar files on remote location. Loading class by class is very time consuming.
    Is it possible to load the jar files as a whole? like what applet does?
    Tried URLClass loading, even run java -jar, still those load class on demand.
    I want the jar file loaded only one time into JVM.

    I don't really understand. When you load a jar file using URLClassLoader it brings over the jar file and extracts the class files from the jar file. It does not bring over the class files as individual class files. If you mean you want to only ever bring over the jar file once then why not just copy the jar file using URLConnection and save it to disk. You can then load the jar file from disk each time the program starts.

  • How to load Jar Files on demand

    Hi all.
    As must of you probably know, JAR files are downloaded on the initial phase when the first form is requested from the URL. This is done through the archive parameter.
    Although i recognized the advantage of such technique, there may be times, when one would wish to download certain JAR files when really needed.
    For example, the FormsGraph.jar may be needed only with certain form modules, but probably not for most. So my question is, apart from doing a web.show_document and calling the desired form with the appropiate config section, is it possible to download specific JAR files on demand???
    Thanks in advance ...!

    This is not really an "Oracle Forms" question. This is more of a java applet question that can be discussed in the Java forums.
    https://forums.oracle.com/forums/category.jspa?categoryID=285
    However, as far as I know, jar files are pulled on demand. You can easily test this with a simple form. For example, add any jar file to the ARCHIVE parameter in formsweb.cfg. Then open the JRE Control Panel and clear the cache. Now run the provided test form (test.fmx):
    http://server/forms/frmservlet?form=test
    Once the form has successfully started, open the JRE Control Panel again and open the Cache Viewer (General tab > View). Notice that the only files downloaded and cached are frmall.jar and Registry.dat. You may see a reference to your additional jar in the console, but the file was not brought down to the client. If you are seeing that a jar is being brought to the client with your own form, this is likely because your form is coded such that some code in that jar is being called and therefore is needed.

  • How to load .jar files when not specified in the .jnlp file

    Hello,
    We are deploying an application with JWS but due to the nature of this app, we need to download additional jar file only when the user has been authenticated. The jar file(s) we need to download can hardly be predicted (in term of name) and thus cannot be all listed as lazzy resource in the .jnlp file.
    However, we would like to take advantage of the various JWS features relateed to .jar download and cache and would prefer not to reinvent the wheel by implementing our on stuff (i.e. URLClassLoader with caching etc.).
    Any idea, suggestion?
    Thanks in advance.
    Fred.

    How about writing a second jnlp file with the optional jar listed in it and running it only if your user is authenticated?

  • How to load csv file in oracle table

    Hi,
    i have csv files to which i want to load the csv file data and table structure in oracle. my csv files on the window machine but database is runing on ibm aix.so how to do it please any one can help me about. thanks a lot in advance
    i know th syntax below
    $sqlldr userid=username/password control=<filename> log=<log filename>

    Hello,
    Yes, with SQL*Loader you can do it.
    But first you have to create a Table into your database with columns and datatype matching
    the content of you "csv" file.
    Then, you'll have to prepare a control file and use the option fields terminated by "," as it's
    a "csv" format.
    Then, you could execute your statement.
    Please, find enclosed a link with some example about SQL*Loader and "csv" file:
    [http://www.orafaq.com/wiki/SQL*Loader_FAQ]
    Hope this help.
    Best regards,
    Jean-Valentin

  • Failier in loading jar files in oracle 10g

    Hi All,
    I am not sure if I should post my problem in this forum or Java one.I am trying to use jasper report inside my apex application.The first thing I did was to develop the report example in NetBeans and it worked.Now I try to do the same and compile my report inside oracle database.The problem is the libraries that I have to load in db.For example when in try to compile
    call dbms_java.loadjava('-force -resolve D:\jdt-compiler-3.1.1.jar');it returns
    errors   : class org/eclipse/jdt/internal/compiler/SourceElementParser$LocalDeclarationVisitor
        ORA-29534: referenced object MBA.org/eclipse/jdt/internal/compiler/SourceElementParser could not be resolved
    errors   : class org/eclipse/jdt/internal/compiler/SourceElementParser
        ORA-29534: referenced object MBA.org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter could not be resolved
    errors   : class org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter
        ORA-29521: referenced name org/eclipse/jdt/core/JavaModelException could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceTypeElementInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/core/IType could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/JavaElement could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/CompilationUnitElementInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/core/ICompilationUnit could not be found
        ORA-29521: referenced name org/eclipse/jdt/core/IJavaElement could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/ImportDeclaration could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceType could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/InitializerElementInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceField could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceFieldElementInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceMethod could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceMethodElementInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceAnnotationMethodInfo could not be found
        ORA-29521: referenced name org/eclipse/jdt/core/Signature could not be found
        ORA-29521: referenced name org/eclipse/jdt/core/IImportDeclaration could not be found
    The following operations failed
        class org/eclipse/jdt/internal/compiler/SourceElementParser$LocalDeclarationVisitor: resolution
        class org/eclipse/jdt/internal/compiler/SourceElementParser: resolution
        class org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter: resolution
    exiting  : Failures occurred during processing
    oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
         at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:129)
         at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:103)and this is same with other libraries i try to compile.So I came up with another idea to put all my libraries inside class path like below.However, it didnt changed anything.
    D:\commons-beanutils-1.8.0.jar;D:\commons-collections-2.1.1.jar;D:\commons-digester-1.7.jar;D:\commons-logging-1.0.4.jar;D:\iText-2.1.7.jar;D:\jasperreports-4.1.1.jar;D:\jdt-compile.jarCan you plz tell me where I am wrong?
    Edited by: SARA3 on Aug 16, 2011 1:14 AM
    Edited by: SARA3 on Aug 16, 2011 1:15 AM

    Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.

  • How to Load Multiple Files in Oracle Database using Sql Loader

    Hi All,
    I want to import multiple files in my DB using Sql*Loader. Please tell me the Syntax, how can I import multiple files using one Control File?
    Thanks & Regards,
    Imran

    Hi,
    You might get a good response to your post in the forum dedicated to data movement , including SQL*Loader . You can find it here Export/Import/SQL Loader & External Tables
    Regards,

  • How to Load XML files into Oracle 8 database.

    My company is currently using Oracle Aplications V. 10.7 character mode and intend to migrate to V.11.0.3 in the next months.
    We want to import data (XML format) in the OE module using Open Interfaces.
    How to proceed ?

    This forum is dedicated to the XML Features of 9iR2, and to a lesser extent 9i. Questions related to XML and earlier versions of the database should be posted in Technologies -> General -> XML...
    I will move this thread to the appropriate forum if required.

Maybe you are looking for

  • Thunderbolt to FireWire adapter

    If I purchase a MacBook Air 11" I want to be able to connect my new LG 23" monitor AND to connect my many LaCie and iOmega FireWire 800 Hard drives.  With my MacBook Pro 13" (Mid-2010) I can do both simultaneously. But with the MacBook Air 11" - ther

  • Session and memory details!

    Hi! My log file shows as follows: metrics Web threads (busy/total): 0/5 Sessions: 575 Total Memory=57624 Free=25022 What's does it mean?Is it a good sign?I am having 575 live sessions?Can anybody explain pl!Thanks

  • SBO Development Environment 2.4 Error (B1Wizard.Globals )

    Hi,expert I installed B1De but i can't open anything about him, when i open DB Browser it show me it "B1Wizard.Globals throw a exception" I found some threads about it, but My environment is different How can I solve this problem? install Windows 7 (

  • Can't get rid of Net Zero!

    Hi everyone, I have just graduated from dial-up to broadband, and although I have called and spoken to Netzero about canceling my account, I cannot get them off of my browser when I first open it. I have set my default to gmail, and that screen comes

  • Problem downloading Photoshop Elements 12

    I was told my a chat rep to uninstall Elements 12 because it was not working correctly and to reinstall.  I have been trying to do this and I run into a dead end.  I can explain more if someone answers.