Help!!! Java Importer

Hello,
I tried to use Java Importer, I set ORACLE_HOME/TOOLS/COMMON60/JAVA/importer.jar in CLASSPATH. But when I use "Import Java Class..." in Form Builder, the error message "PDE-UJI001 Failed to create the JVM." comes up.
What's wrong? Would you please help me?
Thanks!!!
Wendy
null

Wendy ,
On metalink.oracle.com you can find a note about this.
I think what you are missing is to set your PATH to point to jdk1.2.2 .
from the note :
1. Download and install the JDK 1.2.2.
2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
Set the PATH to
set PATH=%PATH%;c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic
( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
in this case please set the PATH to
D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
(If you do not set the CLASSPATH correctly you will get the error
PDE-UJI002 Unable to find the required java importer classes)
4. Now run the Forms Builder by using the command.
C:\Dev6iR2\bin\ifbld60.ex

Similar Messages

  • Java Import -- please help!!!

    I look into http://otn.oracle.com/sample_code/products/forms/content.html for the demo of Java Importer.
    Does anyone knows where / how can I get the source code?
    According to that demo, the Importer creates functions called new() for each of the constructors in the class.
    For me, after I imported one of the class "successfully",
    I can't see this function new().
    How can I get it? Does anyone has the sample code for the package body?
    Please help!!! Anybody?
    thanks

    Hi Shay,
    Where is this src subdirectory?
    I see other demo (i.e the Oracle 9i forms demos) with source in it, but not Java Importer demo. It only has Viewlet next to it.
    Am I looking into the wrong thing?
    thanks

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • JAVA Importer: ORA-105100 can't start the java virtual machine

    Hi,
    i am having trouble to make a work interaction between forms and java.
    My PL/SQL code is calling a java code situated in an imported class.
    the error i get says : can't start the java virtual machine
    I modified the CLASSPATH to add some jar files.
    What else should i do ?
    should i modify LIBPATH ?
    any idea ?
    Thanks
    Dan

    i just found this documentation Oracle Forms Developer and Forms Server 6i (Patch 4) at this adress
    http://download.oracle.com/otn_hosted_doc/forms/forms/p4_relnotef.pdf
    which says that i need jdk 1.2.2 to make it work but the documentation was published in 2001...
    Is there an earlier doc ? or an earlier doc of the java importer ?
    http://www.oracle.com/technology/products/forms/pdf/javaimporter.pdf
    any help would be appreciated

  • Java Importer problem

    Where can i find java.lang.Exception class file which i must have for Java exception handling? I used find utility of Windows and did find a Exception.class file shown in directory "java/lang". But somehow i could not find such directory on my hard disk! I copied it to a self-named directory and then tried to import it into forms, i got an error 'no def found 'java/lang'.
    Please help. I need to get it to work urgently.
    Thanks.

    Ron,
    the java.lang.Excpetion class is part of the Java platform and don't need to be present in a separate directory on your PC. Just import java.lang.Exception as you can see it in the Java importer class tree.
    Frank

  • Error in JAVA Importer

    I tried to import a JAVA Class inside a Form but I got the error: "PDE-UJI001 Failed to create the JVM". How can I solve it? How can I install the JVM? I have just convert my apllication from forms 5.0.6 to 6.0.8.17.1, I have no experience in WEB development and I need to convert my apllications for WEB, the papers on OTN does not explain much. Does anybody has an interesting paper or manual for downloading ???
    Thanks.

    First of all the error you are getting
    You need to to install JDK 1.2.2 to run the Java Importer. And set the PATH's
    and classpath's correctly.
    1. Download and install the JDK 1.2.2.
    2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
    C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
    Set the PATH to
    set PATH=%PATH%;c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic
    ( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
    in this case please set the PATH to
    D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
    3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
    (If you do not set the CLASSPATH correctly you will get the error
    PDE-UJI002 Unable to find the required java importer classes)
    4. Now run the Forms Builder by using the command.
    C:\Dev6iR2\bin\ifbld60.exe
    Now the Java Importer Should Run fine.
    Please follow the white paper on the Java Imported on OTN.
    As for your question about deploying on the web - what about the on line help in Forms????
    Select HELP -> Manuals
    You will then see a manual for deploying Forms to the Web.
    Regards
    Grant Ronald
    Forms Product Management

  • Standards or best practises for Java imports?

    I was just wondering how some of the more seasoned developers out there handle Java imports. I'm fairly new to Java programming and as far as I know there is very little difference between explicitly importing individual classes and importing entire packages, other than at compilation time on large projects, however I'm wondering if there is an official standard or if you have any personal preferences for it.
    Personally I always used to import packages unless I was only using one class from the package, however I have a friend who swears by importing individual classes for everything you use unless you are using almost every class in the package. I'm thinking that a happy medium might be to put a level of inclusion on your work, say if you use less than 50% of classes you should import them individually, but if you use more than 50% you should import the entire package.
    I realise that it doesn't make a great deal of difference to the overall outcome of a project, I'm just looking for your opinions and experiences with it.

    If you're working on a large codebase with a team, then it is helpful to use explicit imports, so that others can readily see which package particular classes come from.
    Also consider the case where there two classes from different packages share a name. In this case you must use at least one explicit import.
    But what if this situation doesn't exist (yet). You import two packages using wildcards. And then later someone comes along and creates a class in the second package with a name used by a class in the first package. Suddenly the class with the wildcard imports won't compile. Perhaps this is a contrived example.
    Regarding personal practice, I usually use explicit imports for the first reason listed above. But secondly, I like to do so because it forces me to remember the package to which the class belongs. Most programmers type pretty quickly, so it's not much of a burden.
    By the way, the compile-time cost, if it is even measurable, is no factor whatsoever. Writing readable and maintainable code is much more important.

  • Java Importer Genrates Package

    hi all,
    i create one class named Hello.class. it contains one method named World() it return string value "Hello World". i'm using forms 6i (patch 10) and jdk 1.2.2 when i use java importer and i select this class from the java importer it create procedure named Hello. but the problem is it creates funciotn like new_9797 and world_347 instead of NEW or WORLD. why it adds some number with function. it creates lots of other functions also but all r with number. can u please help me.
    thanks in advance
    Shakeel

    This is because you have the option "Generate Persistent Names" set on - Go to the importer dialog - press the Options button and uncheck this box. That will solve your problem.

  • Java Importer - Error Occuring While invoking

    I have installed form6i along with the forms6i server in my machine.When I try to invoke the Java Importer I am getting an error message as
    "PDE-UJI1 Unable to create JVM".
    I have set the classpath for importer.jar and also installed jre1.3 in the machine
    and I set the path for this also but Still I am having the same problem.
    Could any one help in this context.
    Thanks
    Venkatesh Kumar P
    Chennai
    India.

    you need JDK 1.2.2 in the path not 1.3
    Check metalink for this message

  • Java Importer and VJM

    Hi anybody,
    I am evaluating Java Importer functionality of Oracle9i Forms. The online help of Forms says:
    Running Applications with Imported Java
    Imported Java runs in the middle tier. The corresponding generated PL/SQL package calls into the Java class and the Java methods execute in a dedicated Java Virtual Machine (JVM) on the Forms Server. A dedicated JVM is created for each Forms Server application instance that uses the generated PL/SQL package to call the imported Java.
    This means, for every Forms application available on the Forms Server one dedicated VJM is created. All users connecting to this application use the same VJM.
    Am I right?
    Thanks for your help.
    Andreas

    1) I am currently using 9iAS version 9.0.2.2.0 (Forms version (9.0.2.11.0). Will this version reuse a single JVM or create one for every user?
    2) I am trying to implement a form with imported Java. I get an exception. I have tried the ORA_JAVA exception and error handling as indicated in the Forms Developer help (importing java.lang.exception) but it does not help. Stepping through the code I see that the generated JNI.GET_CLASS call fails for both my custom class and Exception_. Does this mean the JVM cannot be created? In my default.env file I have added my jar file to the classpath and the path already contained the jre/bin/classic directory. I saw a post about conflicts between the Forms and Reports classpath but I have not called reports when I run into this problem.

  • Can JAVA import 3D Max Studio files?

    I'm currently doing a research for my final project. The tittle is "Comparison Between JAVA 3D and Macromedia Director". Director can import 3D Max studio files, and i do not know whether can JAVA import 3D max Studio files? Pls help.... thanks

    have a look at www.j3d.org , they have several different importers for 3d model file formats and might have one suitable..

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

  • HELP: java.lang.UnsatisfiedLinkError: no ... in java.library.path

    am the beginner of JNI. I write a test program to use C code in JAVA.
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.java theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ javac AClassWithNativeMethods.java
    [yxz155@lionxo JAVAaC]$ javah -jni AClassWithNativeMethods
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ gcc -c -fPIC -I/usr/global/java/include -I/usr/global/java/include/linux theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.o
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ld -G theNativeMethod.o -o libJCI.so -lm -lc -lpthread
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.c
    AClassWithNativeMethods.h libJCI.so theNativeMethod.o
    [yxz155@lionxo JAVAaC]$ java AClassWithNativeMethods
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no CJI in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at AClassWithNativeMethods.<clinit>(AClassWithNativeMethods.java:9)
    [yxz155@lionxo JAVAaC]$
    The codes are as follows, I tried setProperty() as in java program, but it did not work. I also tried set LD_LIBRARY_PATH and it did not work either.
    //AClassWithNativeMethods.java
    import java.io.File;
    import java.lang.System;
    public class AClassWithNativeMethods{
    public native void theNativeMethod();
    static {
    //System.setProperty("java.library.path",System.getProperty("java.library.path")+ File.pathSeparator+"/home2/yxz155/JAVAaC");
    //System.out.println(System.getProperty("java.library.path"));
    System.loadLibrary("CJI");
    public static void main(String[] args){
    AClassWithNativeMethods test = new AClassWithNativeMethods ();
    test.theNativeMethod();
    // theNativeMethod.c
    #include <stdio.h>
    #include "AClassWithNativeMethods.h"
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *env, jobject obj){
    printf("Hello~~~~");
    //AClassWithNativeMethods.h
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class AClassWithNativeMethods */
    #ifndef IncludedAClassWithNativeMethods
    #define IncludedAClassWithNativeMethods
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: AClassWithNativeMethods
    * Method: theNativeMethod
    * Signature: ()V
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif

    Hi all,
    I am getting the error in jdk 5:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: getObjectSize0
    at sun.instrument.InstrumentationImpl.getObjectSize0(Native Method)
    at sun.instrument.InstrumentationImpl.getObjectSize(InstrumentationImpl.java:97)
    at ObjectSizeEstimator.main(ObjectSizeEstimator.java:25)
    while executing the following code:
    public class ObjectSizeEstimator {
    static {
    System.loadLibrary("instrument");
    public static void main(String[] args) throws Exception {
    Constructor ctor = InstrumentationImpl.class
    .getDeclaredConstructor(new Class[] { long.class, boolean.class });
    ctor.setAccessible(true);
    Instrumentation inst = (Instrumentation) ctor.newInstance(new Object[] {
    Long.valueOf(0L), Boolean.TRUE });
    System.out.println(inst.getObjectSize(new Object()));
    "getObjectSize0" is the native method. All of my classpath setting is in place. Can Anybody tell me why i am getting this error.
    Thanks in advance....:)

  • JAVA Import error

    Iam doing ABAP+JAVA system copy, ABAP stack imported sucessfully.During JAVA Import in target system iam gettting below error in the step"Backup/Restore database"  .I can start Oracle using sqlplus/nolog
    ERROR 2010-04-27 18:22:28.563
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-01012: not logged on
    ORACLE instance started.
    ERROR 2010-04-27 18:22:28.563
    MUT-03025  Caught ESAPinstException in Modulecall: ORA-01012: not logged on
    ORACLE instance started.
    let meknow your thoughts.
    - Jim

    Hi,
    Are you able to login to sqlplus from os. Since this is backup/restore method, you should have a successful restore before starting the import.
    check whether there are any errors in alert_SID.log file, if any then pls do update here.
    Regards,
    Kishore Soma

  • Use Java Bean or Java Importer

    I have created my java class to validate a user against LDAP and now I would like to use that class in my own 9i login form. In order to pass the class variable values to the form is it better to create a java bean or use the Java Importer? Which is better for performance?

    Mike,
    Java Beans added to Forms are downloaded to teh client as part of the application startup. The jar files get permanently cached on teh client until they are renewed on the server. For your original request, the funtionality already exists in a Forms9i demo
    http://otn.oracle.com/sample_code/products/forms/files/Forms9iOID_DEMO.zip
    Viewlet:
    http://otn.oracle.com/sample_code/products/forms/demo/9i/forms_services_demos/sso_oid_integration/viewlet/forms_integration_oid/OID90_viewlet.html
    To authenticate
    <Java Importer class package>.authenticateUser(<obj ORA_JAVA.JOBJECT>,user_dn VARCHAR2,password VARCHAR2) RETURN BOOLEAN;
    Frank

Maybe you are looking for

  • Field value in the query

    hi folks, I have an issue related to the name field which I am using in a query. it goes like this select * from csks            where kokrs = 'BMC '            and BUKRS = '0100'            and GSBER = '0100'            and Name2 = ' O' Donell Simon

  • Using forms button to insert a page from an attachment file?

    Could somebody point me in the right direction so that I can understand how to approach the following task? I want to create a form that has a button that a user can press if a particular condition is met. For example if it is raining outside the use

  • Incomplete record set, Crystal XI, MS SQL stored procedure

    Post Author: stadlock CA Forum: Data Connectivity and SQL I have a stored procedure written in T-SQL. When I use Query Analyzer to call the stored procedure, all records are returned that I'm expecting. So, the sp would seem to be working properly. 

  • How to put configurable material in finished stock???

    Hi How to put configurable material in finished stock?? wt is transaction code??or is there  any different process for that?????????//

  • Explain tree and please explain it events,,,,,

    Hi, I am using tree with table ui element. Now i need to call second view on click event of tree node but i can not do same. Please help me to trace which event i have to use and try to explain it with code if possible. Regards, Gurprit Bhatia