7 Replies Latest reply: Oct 25, 2006 3:57 PM by Avi Abrami RSS

    Loadjava error - ORA-29552

    paramo
      Hi,

      Trying to load java into the database and get the following errors on some of the classes it is trying to generate:

      ORA-29552: verification warning: java.lang.UnsupportedClassVersionError: genproxy/types/ViewProfile (Unsupported major.minor version 49.0)

      Further down I get the following where resolving is trying to sort it out:

      bad class file: null
      class file has wrong version 49.0, should be 48.0

      Anyone help me with what this means and how I can resolve this?

      Regards
      David
        • 1. Re: Loadjava error - ORA-29552
          Avi Abrami
          David,
          The Oracle 10g database embedded JVM supports JRE 1.4.
          The Oracle 9i database embedded JVM supports JRE 1.3.

          As far as I know, there is no Oracle database embedded JVM that supports JRE 1.5.

          Sorry :-(

          Good Luck,
          Avi.
          • 2. Re: Loadjava error - ORA-29552
            paramo
            Hi Avi,

            Thanks for the reply. Not sure how this happened as I am using Oracle 10g and trying to consume web services into the database. I have had to download jpublisher and just noticed that it states in step 3) Set up JDK 1.4 or later as the Java VM and Java Compiler.

            Can you point me in the direction for the documentation of how to for this?

            Also if possible how I check what version?

            Thanks
            David
            • 3. Re: Loadjava error - ORA-29552
              paramo
              Just found the documentation under the \javavm\doc directory.

              Regards
              David
              • 4. Re: Loadjava error - ORA-29552
                Avi Abrami
                David,
                If you haven't already seen it, perhaps this Web page will be of help:

                http://www.oracle.com/technology/tech/java/jsp/index.html

                Good Luck,
                Avi.
                • 5. Re: Loadjava error - ORA-29552
                  paramo
                  Hi Avi,

                  Thanks for the link, just in time as I was scratching my head as to where to go! I have checked the version of Java outside the database:

                  D:\oracle\product\10.2.0\dev01\jdk\bin>java -version
                  java version "1.5.0_04"
                  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
                  Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)

                  I then checked an older install Oracle 10.1.x.x and the java outside is:
                  C:\Documents and Settings\David>java -version
                  java version "1.4.2_03"
                  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
                  Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

                  This seems to indicate that the earlier release is aligned, maybe an option if all else fails.

                  Regards
                  David
                  • 6. Re: Loadjava error - ORA-29552
                    541759
                    Hi I checked my java version in D:\oracle\product\10.2.0\
                    it is java version "1.4.2_08"

                    Any idea how I should update my JRE to 1.5?

                    Thanks.
                    • 7. Re: Loadjava error - ORA-29552
                      Avi Abrami
                      user538756,
                      You asked:
                      Any idea how I should update my JRE to 1.5?
                      Go to: http://java.sun.com
                      (Or did I misunderstand you?)

                      Good Luck,
                      Avi.