change the version of java in Oracle forms 10

Hi all!

I m using Oracle Forms 10 and I tried to import a jar file that was compiled in java 1.6. Therefore, the import has failed with the following exception:
"Exception occurred: java.lang.UnsupportedClassVersionError: HelloWorld (unsupported major.minor version 50.0).

After some research, I discovered that the problem is that Oracle forms use default java 1.4.2.

I was wondering how to change Oracle forms to java 1.4 to java 1.6.

Any ideas?


Thanks in advance,
Dina

Hello Dina,

Regarding your question, you have two options to overcome:

1 - stay with 10 g version of forms and recompile the class in the version 1.4 of java, compatible with the java Forms 10.1.2 importer.
2. upgrade to version Forms 11 g, which uses the java version 1.6.

Kind regards
Alex

If someone useful or appropriate please mark accordingly.

Tags: Oracle Development

Similar Questions

  • How to change the version of java, when I start WebLogic Server Oracle

    Hi friends,
    I installed the weblogic with the version of Java that I show below,
    from weblogic with the Java version:
    Java version "1.6.0_17".

    My question is how to put in place another version of java
    E.g. JRockit to begin my domain name.

    Concerning

    Change your setCommEnv script in the directory {WL_HOME} / common/bin and set JAVA_HOME to your path. If you change some other JVM Jrockit, also the JAVA_VENDOR value (BEA in WL 10, Oracle in WL 10.3.3)

  • How can I find out the version of java, oracle has?

    How can I find out the version of java, as oracle has built?

    I have tried with...

    SELECT identifiant_composant, ComputerName, version
    OF dba_registry;

    "But I get..' table does not exist'."

    Thenks in advance!

    11 GR 2 includes Java version 1.5, according to the above link

    HTH
    Srini

  • How do you change the version text headers and feet?

    I understand how to add and edit the headers and footers, but it just seems to edit the html version. How do you change the version of the text? We use Eloqua 10.

    Thank you.

    Just talked to Eloqua support and they said that's impossible. They put in as a feature request.

  • Hi, I have to Malaysia, I'm trying to load down the lightroom and cc photo shop trial for the test. but after installation I know is English version! for me, I want to use the version Chinese, how can I change the version English version Chinese. Thank y

    Hi, I have to Malaysia, I'm trying to load down the lightroom and cc photo shop trial for the test. but after installation I know is English version! for me, I want to use the version Chinese, how can I change the version English version Chinese. Thank you

    Hi Alexl2684899,

    Please visit the below mentioned link:

    Change the language of Adobe Creative Cloud applications

    Let us know if that helps.

  • I bought a version of windows when I have a mac. Is it possible to change the version?

    I bought a version of windows when I have a mac. Is it possible to change the version?

    You must cancel at the last version of Mac stopped and re-order.

    In this case, you will need to contact Adobe technical support, they will certainly check and assist you accordingly.

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_account-settings _stillNeedHelp

    [Click the button still need help and select the Chat option]

  • Change the version of OS W2k > W2k sp4

    Hello again,

    Unless I forgot something, there is a gap in the documentation to change the version of the operating system of a virtual computer. The documentation talking about changing the version of the Virtual Machine, but it seems that it's the version of the workstation on which the virtual machine is installed (or so I'm building the question in my mind as a rookie without much familiarity with the terminology) or the upgrade of the OS, such as, for example, from W98 to W2k. For beginners with workstation that maintains an operating system Virtual Machine, as would be the case I think of any installation Windows 2000 disk, this can be confusing and there is a lot of fear and trembling where a quick note would facilitate the spirit. There is no option in the original configuration to select Windows 2000 Pro sp4. The question of the installation of updates to SBS VM seems to have been spent past. So:

    I seek confirmation that upgrade the operating system of Windows 2000 Pro for Windows 2000 Pro SP4, all that is at issue feed on the W2k VM, inserting and executing the update disc. Is this correct? Y at - it a new update of the tools?

    No problem - and you don't have to do anything to "close the issue."  Marking the answered question supports this.

  • DPS simple editing change the Version of the App

    Hello

    How can I change the version of a DPS App Builder generated distribution application?

    Is it wrong to unzip, open the content of the application package, and then change the version strings in the info.plist file?

    Kind regards

    Alexander

    Please check your PM.

  • Is it possible to change the version of a virtual computer hardware?

    Is it possible to change the version of a 7 to 4 virtual computer hardware?

    I tried following the steps that worked for me...

    1. uninstall VM tools.

    2. unregister the virtual machine to the host/vc

    3. edit the VMX and redefine the hardware version on 4. (Do not forget... VMX file Edition is not a supported option).

    4 register the virtual machine to the host/VC

    Again, I would even using converter to downgrade the HW version.

    Thank you

    Ramesh. Giacalone,

    VCP 3 & 4, MCTS(Hyper-V).

    Please give points, so useful

  • How can I change the Version Code in Flash Android from the Android market app settings?

    I recently tried to update my app on the Android app market and when I downloaded it I got the following message:

    "News of the apk (1000000) VersionCode already exists."

    In Flash Adnroid settings I changed the version label, but that did not help.

    So I have two questions:

    1. How can I change the Version code in Flash Android settings? I changed the version number and the version label, but it does not work.
    2. What is the difference between the version number and version label?

    1.1.0

    That should fix it, you must download the wrong file. I got this error before, by simply changing the flash version number and reexporting solves the problem. Flash can sometimes reroute your destination the exit .apk file folder, when your double apk download check that it has been created when you think it is, best way to do so is to publish and then transfer it, and after download be sure that it has been created a minute ago or so not on 30 March. Also try without the version label, it would be in conflict with something.

  • Cannot change the update of Java through the control panel (64-bit version)

    Windows 7 SP1 x 64

    Hello

    Since no direct feedback to Oracle is possible (the form does not), I use this forum for your comments. Feedback is intended for Oracle, but I appreciate any input from the community.

    The x 64 version of Java JRE installation gives you all access to settings update via Control Panel-> Java link. However, Setup installs and activates the update of Java without any recognition of the user. In case you do not want to have a background task running periodically check the updates you must manually change the registry to get rid of this process.

    It is bad programming and must be changed with the next update.

    Unfortunately, Oracle look here, it is a programming user to user forum. And they decide for themselves what should or should not set (as you may have noticed see how the Java 7 is handled); If you want any type of control that you will need to get a support contract.

  • Change the units of measure for length, form of Oracle 11 g

    Hello

    I worked with oracle forms and reports 6i, at the time When elaborate measures of shape, it was something like 7,800 or 6.23... etc - seemed to be in inches-

    When we went to 11g measures appear to be in the 700 points or 800... etc.

    the problem is when I copy anything a report in to 11g 6i, it removes the decimal point, if it was 7,800 in 6i it becomes 7800 g 11, which is huge.

    so is it possible to change the measures of the form points to 11g po or vice versa.

    Thanks in advance.

    2731707 wrote:

    .. .so is possible to change the measures of the form points to 11g po or vice versa.

    Yes, you must update the Module property of coordinate system level.  Then, click on the Module of the Navigator object node and select Properties.  Then scroll down and select the coordinate system property and click the more... button.  From there, you can change the properties of coordinate system, true unity and character cell .  I recommend that you open your original form in Forms 6i and look at these property values.  Open your form in form 11g and set the properties so that they match.  Although, if you migrate your form at Forms 11 g these properties should not change.  If you are creating a new form and copy your old objects of form in the new form, I recommend that you create a model form that has the properties of coordinate system you want and then start all new forms using this template file.

    Hope this helps

    Craig...

  • Oracle is how to change the functionality of a data entry form.

    Hi guys,.

    I'd like know if theres a way to retrieve and enter records in a form that is based on a single table, with this kind of functionality:
    -Enter the primary key (enter or tab), if the record exists then poster for edit and register.
    -If this is not the case exists, and then accept data in the fields and then save.

    This is because recently a customer migrate a small application of advanced forms of oracle revelation, and the people who use this registration form complains because they say that you need to type more keys to retrieve information.

    I know what it means to ignore the native functions to a form of oracle, but it's a question that I was invited.

    I apologize for my English.

    Jorge

    Good afternoon Jorge.

    Yes, you can do what you described. You can use a trigger when-validate-item to search for the key value the user has entered and then, if found, complete the rest of the screen. If the value is NOT found, you can just go to the next input value to allow the user to continue to enter the folder.

    Good luck
    Don.

    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! :)

  • How to use the programe of java in oracle

    Hello Expert,

    My Config is: -.

    Forms [32 bit] Version 11.1.1.3.0 (Production)

    JDeveloper - 10.1.3

    I want to use the java programe in the form builder. I create a java class in Jdeveloper.

    package demo;

    import java.net.InetAddress;

    import java.net.NetworkInterface;

    java.net.SocketException import;

    java.net.UnknownHostException import;

    public class get_info {}

    Public Shared Sub main (String [] args) {}

    ch_add();

    }

    public static ch_add() Sub

    {

    InetAddress ip;

    try {}

    IP = InetAddress.getLocalHost ();

    /*System.out.println ("current IP address:" + ip.getHostAddress ());  */

    NetworkInterface network = NetworkInterface.getByInetAddress (ip);

    Mac Byte [] = network.getHardwareAddress ();

    /*System.out.print ("MAC address current :");   */

    StringBuilder sb = new StringBuilder();

    for (int i = 0; i < mac.length; i ++)

    {

    SB. Append (String.format ("% 02 X %s", mac [i], (I < mac.length - 1)?)) "-" : ""));

    }

    System.out.println (SB. ToString());

    } catch (UnknownHostException e) {}

    e.printStackTrace ();

    } catch (SocketException e) {}

    e.printStackTrace ();

    }

    }

    }

    and Formweb.cfg and default.env and also add in Form_class_path. After that, I import this java in forms.

    Code genertated-

    PACKAGE get_info BODY IS

    --

    -DO NOT EDIT THIS FILE - it is machine generated!

    --

    args NYI. ARGLIST;

    Constructor for signature (V)

    New FUNCTION RETURN ORA_JAVA. JOBJECT IS

    BEGIN

    args: = NULL;

    RETURN (JNI. NEW_OBJECT ("demo/get_info", "(V)", args));

    END;

    -Method: main ([Ljava/lang/String ;) V

    Main PROCEEDINGS)

    A0 ORA_JAVA. JACOB) IS

    BEGIN

    args: = NYI. CREATE_ARG_LIST (1);

    NYI. ADD_OBJECT_ARG (args, a0, ' [Ljava/lang/String ;');)

    NYI. CALL_VOID_METHOD (TRUE, NULL, "demo/get_info', 'hand', ' ([Ljava/lang/String ;)) V ", args);

    END;

    -Method: ch_add (V)

    PROCEDURE ch_add IS

    BEGIN

    args: = NULL;

    NYI. CALL_VOID_METHOD (TRUE, NULL, "demo/get_info", "ch_add", "(V)", args);

    END;

    -Method: wait (J) V

    PROCEDURE to wait)

    obj ORA_JAVA. JOBJECT,

    NUMBER of a0) IS

    BEGIN

    args: = NYI. CREATE_ARG_LIST (1);

    NYI. ADD_LONG_ARG (args, a0);

    NYI. CALL_VOID_METHOD (FALSE, obj, "demo/get_info", "expect", "(J) V", args);

    END;

    -Method: wait (V)

    PROCEDURE to wait)

    obj ORA_JAVA. JOBJECT) IS

    BEGIN

    args: = NULL;

    NYI. CALL_VOID_METHOD (FALSE, obj, "demo/get_info", "expect", "(V)", args);

    END;

    -Method: wait (JI) V

    PROCEDURE to wait)

    obj ORA_JAVA. JOBJECT,

    NUMBER of a0,

    The a1 NUMBER) IS

    BEGIN

    args: = NYI. CREATE_ARG_LIST (2);

    NYI. ADD_LONG_ARG (args, a0);

    NYI. ADD_INT_ARG (args, a1);

    NYI. CALL_VOID_METHOD (FALSE, obj, "demo/get_info", "expect", "V (JI)", args);

    END;

    -Method: equals (Ljava/lang/object ;) Z

    FUNCTION is equal to)

    obj ORA_JAVA. JOBJECT,

    A0 ORA_JAVA. JOBJECT) RETURN BOOLEAN IS

    BEGIN

    args: = NYI. CREATE_ARG_LIST (1);

    NYI. ADD_OBJECT_ARG (args, a0, ' object java/lang / "");

    BACK TO JNI. CALL_BOOLEAN_METHOD (FALSE, obj, "demo/get_info", "equal to", "(Ljava/lang/object ;)) Z', args);

    END;

    -Method: toString () Ljava/lang/String;

    FUNCTION toString)

    obj ORA_JAVA. JOBJECT) RETURN VARCHAR2 IS

    BEGIN

    args: = NULL;

    BACK TO JNI. CALL_STRING_METHOD (obj, "demo/get_info", "toString", "() Ljava/lang/String"; FALSE, args);

    END;

    -Method: hashCode () I have

    FUNCTION (hashCode

    obj ORA_JAVA. JOBJECT RETURN NUMBER) IS

    BEGIN

    args: = NULL;

    BACK TO JNI. CALL_INT_METHOD (FALSE, obj, "demo/get_info", "hashCode", ' () I ", args");

    END;

    -Method: getClass () Ljava/lang/class;

    FUNCTION getClass)

    obj ORA_JAVA. ORA_JAVA RETURN JOBJECT). JOBJECT IS

    BEGIN

    args: = NULL;

    BACK TO JNI. CALL_OBJECT_METHOD (obj, "demo/get_info", "getClass", "() Ljava/lang/class"; FALSE, args);

    END;

    -Method: notify (V)

    Notification PROCEDURE)

    obj ORA_JAVA. JOBJECT) IS

    BEGIN

    args: = NULL;

    NYI. CALL_VOID_METHOD (FALSE, obj, "demo/get_info', 'prevent',"(V)", args);

    END;

    -Method: notifyAll () V

    PROCEDURE notifyAll)

    obj ORA_JAVA. JOBJECT) IS

    BEGIN

    args: = NULL;

    NYI. CALL_VOID_METHOD (FALSE, obj, "demo/get_info", "notifyAll", "(V)", args);

    END;

    BEGIN

    NULL;

    END;

    Now, I want to call the o/p of the Java programe in the oracle text element. Please help me. It is very urgent. I'm not good in Java.

    It is all explained in http://fdtool.free.fr/forms-pjc-bean/first-bean/first_bean.pdf

    In essence, you need:

    -a Java class that extends from oracle.forms.ui.VBean where you must implement getProperty, as stated in article method

    -a unique property of your choice name

    -forms of type point area of bean that should be visible and on a canvas

    -you could then call your method using get_custom_property (, 1, )

    Just adapt the example comes from the tutorial above. You can of course also use the FBean package so you will not need to extend kifani but simply to any class that extends from container. As a first step, maybe you must redo the complete tutorial to get a handle on the how and the why.

    see you soon

  • How to change name (label) text dynamically in oracle forms

    My requirement is, I want to change the name of text dynamically in the form of oracle. How can do us?  (Not the label of the button (or) box... Looking for a title of text element...)

    Dear Sir

    You cannot change the properties of TEXT elements. Instead, you can use the TEXT_ITEM guests to display the legend.

    Manu.

Maybe you are looking for