OC4J and java version

I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
OC4J version 10.1.3.1
Thanks for the help

Hi,
You can check the Metalink Note no 396096.1
Or follow the below link,it would be helpful
http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
Regards
Fabian

Similar Messages

  • HT1338 I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51). Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0. Than

    I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51) a few days ago. Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0, which seems to be the newest one for my op sys. Anybody know how I can solve this? In advance thank you!

    Apple support article to enable Java 6.
    Java 6 Enable

  • I use OS X Yosemite and Java Version 8 Update 25. Which java version is suitable for flash CS6?

    I use OS X Yosemite and Java Version 8 Update 25. Which java version is suitable for flash CS6?

    See System requirements | Flash Professional
    Java version 1.6 is included with Flash Pro.

  • OEDQ 11.1.1.7.3 and Java version 1.7 (1.7.0_55 (32bit)). Not launching Director application

    Team I am using OEDQ 11.1.1.7.3 and Java version 1.7 (1.7.0_55 (32bit)). When I launch the director, small pop up window green progress meter is not completing to launch the Director application.
    Severity 2
    SR 3-10384717881  :  Using OEDQ 11.1.1.7.3 (1050) - Unable to launch Director
    Created ticket with Oracle but it is taking to going back and forth with support team. Hope our experts here can shed some light on this. Thanks!
    BG

    Hi Bala,
    I don't have permission to access the attachments in the SR, but this sounds like it could be the well known Java Security issue affecting the WebStart of EDQ. See the following article on the support site:
    Unable To Launch EDQ Client Applications After Upgrading To The Latest Java Update (Doc ID 1614893.1)
    regards,
    Nick

  • Xmlgen and java version

    trying to figure out which jars need to be in my classpath.
    Using 1.4.2 I get
    911@file:/C:/sgml/NISO/2005/05Std/dtbook121a.dtd
    generating document #1
    Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/Do
    cumentRange
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    etc,
    with 1.5 I get
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.msv.generator.DOM2toSAX2.convertAttributes(Unknown Source)
    at com.sun.msv.generator.DOM2toSAX2.onElement(Unknown Source)
    at com.sun.msv.generator.DOM2toSAX2.traverse(Unknown Source)
    at com.sun.msv.generator.Driver.run(Unknown Source)
    at com.sun.msv.generator.Driver.main(Unknown Source)
    1. Which jars are needed please?
    I currently have
    set x=/myjava/xmlgen
    set cp=%x%/xmlgen.jar;%x%/msv.jar;%x%/xerces.jar;%x%/xercesImpl.jar
    2. Which version of java has it been proven with please?
    TIA, DaveP

    Further information.
    Using the provided xerces.jar, recent xmlParserAPIs.jar and java 1.4.2
    the error reduces to
    java -cp /myjava/xmlgen/xmlgen.jar;/myjava/xmlgen/xmlParserAPIs.jar com.sun.msv.generator.Driver -dtd dtbook121b.dtd -root {}book
    parsing a grammar: dtbook121b.dtd
    generating document #1
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.msv.generator.DOM2toSAX2.convertAttributes(Unknown Source)
    at com.sun.msv.generator.DOM2toSAX2.onElement(Unknown Source)
    at com.sun.msv.generator.DOM2toSAX2.traverse(Unknown Source)
    at com.sun.msv.generator.Driver.run(Unknown Source)
    at com.sun.msv.generator.Driver.main(Unknown Source)
    regards DaveP

  • Enum error and java version??

    The following code keeps giving me an error saying it expects a semi-colon at the open bracket. I've read its related to using an older version of Java, but I'd swear I'm using the most current! Am I missing something?
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER;
    }When I run "java -version" it says "java version 1.6.0_02". I just downloaded and installed this earlier tonight...

    The error message says it all.
    If you check your enum, it has a semicolon at the end of December.
    You do not need semicolon there. Remove it and you will be ok.
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
    }

  • OC4J and JDK version compatibility

    Does anyone know if OC4J 1.0.2.2.1 is certified to work with JDK1.3.1?
    The reason being :
    1. We have a situation where the CPU gets full frequently because of OC4J.
    2. When OC4J is recycled the app works fine. App uses JSP, servlets and JDBC connection to Oracle 8.1.7
    3. Is there any way to find if OC4J 1.0.2.2.1 is not supposed to be used with JDK1.3.1?
    Finally, is there any URL that provides this information so that I can check the same with later versions of OC4J and JDK?
    Thanks,

    OC4J 1.0.2.2.1 is not certified with 1.3.1.x. Certification information should be available in http://metalink.oracle.com. You should have a CSI to get into Metalink.
    thanks
    debu

  • Stand Alone OC4J  and Java's Comm API

    I am using the Java Comm API alongwith a servlet. The code simply gets the required ports and displays it in a JSP page. The program is developed using Jdeveloper 9. It works fine with embedded OC4J but a blank jsp page is displayed when deployed in in standalone OC4j instance on the same machine. I have correctly copied the required wincom32.dll, java.comm.properites and comm.jar to the jre/bin, jre/lib and jre/lib/ext respectively. What could be wrong.
    Thanks
    MMN

    Try setting the OS PATH env variable to the directory where the .DLL is located before you launch the container. Or else put the .DLL in a directory which is in the existing path.
    cheers
    -steve-

  • MapListener and Coherence and Java versions

    Hi,
    (1) On one of our testing environments, on linux, we are running coherence 3.7.1.7 on JVM Java 1.6u33 . We are using coherence*extend clients, and we do listen to updates in a cache through MapListeners. We have no issues on this configuration, and we consistently get onMapEvent calls for events.
    (2) When the same code is ported to another linux box, running 3.7.1.7 on JVM 1.6u06, we start to get onMapEvent calls for a while, but then it stops abruptly. We are able to verify the server cache getting updated properly, through a backing map listener on the server side. However the listeners on the coherence*extend are not sent notification.
    I understand that the (2) configuration is running JVM which is lower than the recommended version,but, When we downgraded JVM on (1) with 1.6u06, we still had consistent onMapEvent calls.
    My question is, does this kind of inconsistent behavior ring a bell to anybody over here ? It is hard to understand why the notifications would be inconsistent when the JVM is lower ... may be it is not associated with the JVM at all ? Can somebody throw some light on this please ?

    If it won't compile with VJ++, don't expect it to run with IE unless you've got a Sun plugin.
    As to writing parsers, what kind of grammar are you trying to parse?

  • JDeveloper and Java Version question

    I would like to know how to change the version of java that JDeveloper is using. I have 1.5 installed on the machine, yet the default version is 1.4 which i can see what going into help. How may I change JDev so it uses 1.5?
    Thank you,
    Russ

    Set the JDK version with Tools>Project Properties>J2SE Version field.

  • How to setup JAVA_HOME or JRE_HOME for veridata, and newest Java version

    when I test veridata agent connection to source db, I got following error:
    Agent remote message (101): Unhandled exception 'java.lang.UnsupportedClassVersionError': (oracle/jdbc/pool/OracleDataSource) bad major version at offset=6
    Then I checked java home on source, it is set to $ORACLE_HOME/jdk ,and java version is 1.5.
    Since my oracle goldengate agent download is 11.2, doc says it requires 1.6 as mininum java version.
    I just wonder how I get oracle Home has 1.6 java binaries.
    Thanks in advance.

    982335 wrote:
    I just wonder how I get oracle Home has 1.6 java binaries.Java doesn't have to be installed in Oracle_Home, it can be installed anywhere on your system. You probably already have a Java 6 installed somewhere; but if not, just install it (via pkg manager or manually installing from a tarball, etc). Then just set JAVA_HOME to the directory containing "bin", and prepend $JAVA_HOME/bin to your PATH (this should be quite simple).

  • HT1338 OSX 10.4.11 update quicktime. Browser says out of date. Updater says up-to-date. Is this version no longer supported. How to update QuickTime and Java then?

    OSX 10.4.11 Updates to QuickTime and Java.
    Browser says out of date. Updater says up-to-date. Is this version no longer supported?
    How can I update QuickTime and Java then without upgarding? I wish to keep a back channel to OS9

    Mac OS X Tiger was discontinued years ago, and if Software Update doesn't detect any new update, it's because you are running the latest Java and QuickTime version for Tiger.
    Apart from that, I see that you have a G5, so the most recent Mac OS X version you can use is Mac OS X Leopard, another version that it's (or it's going to be) discontinued soon. PowerPC support is completely dead now, and if you want the most recent QuickTime and Java versions, you will need a Intel-based Mac with OS X Lion or Mountain Lion, that have got the latest Java 6 versions and they are compatible with Java 7

  • OC4J and FOP installation

    Hi,
    We would like to use the PDF printing of 3.0.1
    I am trying to install FOP but I do not have any knowledge in OC4J and Java ... so I am kind a lost right now.
    I am following the installation guide of OC4J standalone (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/install.htm#BABIBGCA)
    I was wondering :
    1- do I need to install oc4j standalone in a separate Oracle Home ?
    2- There is already an OC4J installed in my db Oracle Home , I guess for emdbconsole. So , I created a new directory called oc4j_sa and unzipped the file. When I start OC4J with oc4j -start , it does not give me the prompt back. Then , I can access the web page with port 8888 (192.168.0.21:8888) , but 192.168.0.21:8888/em fails . So I cannot deploy the FOP war file.
    Any pointers or guidance would be great.
    Thanks
    Francis.
    P.S. :
    Oracle 10.1.0.5
    Oracle Linux (RH 4)

    OK, I finally got to the deployment of FOP but now it generates a corrupted PDF.
    Are there any log files that I can check ?
    I created a new Oracle_home for OC4J and ran "EM" to deploy FOP and everything worked like in the viewlet.
    Now I did the setup in APEX and set the following :
    Standard Support
    Print Server Protocol HTTP
    Print Server Host Address 192.168.0.21
    Print Server Port 8888
    Print Server Script /fop/apex_fop.jsp
    I created a sample application to test. In a report , I added the print link.
    When I clic Print, the pdf generated is corrupted and does not work.
    Thanks
    Francis.

  • JNI MMX and Java long arithmetic

    I am having trouble with a JNI call to a C program which contains assembler which uses an MMX operation as follows:
    static inline int diffPixels(int rgb1, int rgb2) {
    register int temp;
    __asm__ __volatile__ (
    "movd %1, %%mm1\n\t"
    "movd %2, %%mm2\n\t"
    "psadbw %%mm1, %%mm2\n\t"
    "movd %%mm2, %0\n\t"
    : "=r" (temp)
    : "r" (rgb1), "r" (rgb2)
    : "mm1", "mm2", "cc"
    return temp;
    After the JNI call returns, the first Java long arithmetic fails. I believe the failure is that when a method on a Java object returns a long the result is 0x8000000000000000 rather than the correct value.
    To use pure Java means my response to a user action is 9 seconds rather than 3 seconds with the JNI call which is why I want to persist with it. At present I am doing an arbitrary long multiply after the JNI call to "fix" long arithmetic but I am afraid this won't work if there is a context switch to another java thread in the middle of the JNI call.
    The test environment is a 3 Gigahertz Pentium 4 running Linux kernel 2.6.9 and Java version 1.4.2_06-b03.
    Can anyone explain this behaviour ? It took me days to isolate the problem.

    Hi,
    Is it absolutely necessary to declare temp as register ?
    How about adding a lock directive at the beginning of your asm ?
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                           

  • MII Workbench and java security Issue for jdk7

    Hello all,
    I am using MII version 12.2.2 Build(234) and java version jdk7.
    Now,I am not able to open or create a transaction in workbench.
    In java console, an error is shown below:
    AWT-EventQueue-0 [ERROR] - java.lang.ExceptionInInitializerError
         at com.sap.lhcommon.expressioneval.ExpressionLoader.<clinit>(ExpressionLoader.java:282)
         at com.sap.xmii.bls.expressioneval.TransactionFunctions.<clinit>(TransactionFunctions.java:27)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.createBox(FunctionsComboBox.java:45)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.<init>(FunctionsComboBox.java:39)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.createExpressionEditorPanel(LinkEditorPanel.java:1033)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.initialize(LinkEditorPanel.java:316)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.<init>(LinkEditorPanel.java:198)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorBottomPanel.<clinit>(LinkEditorBottomPanel.java:28)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.initDisplay(TransactionInfo.java:353)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.createNewFile(TransactionInfo.java:149)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction.createFileInfoObject(NewAction.java:194)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction$1.construct(NewAction.java:115)
         at com.sap.lhcommon.gui.ThreadCreator$2.run(ThreadCreator.java:96)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.security.action")
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass0(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sap.lhcommon.expressioneval.functions.DecodeFunction.<clinit>(DecodeFunction.java:83)
         ... 14 more
    I also modified the 'java.policy' file. But it did not work. I am still getting the same error.
    Kindly advise..
    Thanks,
    Ritwika.

    I do not yet know the security implications of doing what I did to fix this issue, but here is my solution.
    I added the following to the jre7 java.policy file in the section "grant {":
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.action";

Maybe you are looking for

  • Question 2: Is it possible to start (restart after error) in te Batch!

    Hi, Imagine then - I have a huge BPM (IP) with many loops, waits, transformation, forks etc... - And at a certain moment, some services are not available, and since I have connected an exception - the total process is ending in error, which is possib

  • Quicktime movie not displaying properly

    Hi, Can anyone help?, I have inserted an mpg into a page using the "plugin" symbol (is this correct?), and although it displays correctly when i preview in browser, after i upload it to my server and click on the link, it goes to the page, hangs ther

  • Install CS5.5 upgarde will remove CS4?

    Hi, I am about to order a upgrade verison of CS5.5, anyone know when i install the CS5.5 upgarde, it will remove my CS4 automatically? Thanks.

  • Network management methods

    I have a problem with choosing the most suitable network management method in Arch for my laptop. The question itself may seem silly, but after reading some articles in ArchWiki I got a bit confused. What I need is to be able to connect and disconnec

  • Convert characteristic values in key figures in a query

    Hello all, i have a query which provides some key figures and also some probabilties (defined as characteristics). I want to multiplicate the probabilities with the key figures and therefore I need to convert the characteristic values for the differe