1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Oracle using old Java version during install

Discussion in 'Installation - Unix and Unix Like' started by spark, Jul 25, 2012.

  1. spark

    spark Guest

    OS=Redhat LINUX6
    DB=Oracle 11.20.1

    Get the following error when installing Oracle. I have java version "1.7.0_05" and based on the log, it appears that Oracle is trying to install the binaries using an older version of java (1.5.0). Has anyone come across this issue?


    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # SIGSEGV (0xb) at pc=0x00000030b7014d70, pid=2615, tid=140142440847120
    #
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b03 mixed mode)
    # Problematic frame:
    # C [ld-linux-x86-64.so.2+0x14d70]
    #
     
  2. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hi spark,

    Can I know what software you are trying to install. Naturally we don't need java for DB in any OS. Generally we use java to open front end applications. And if we are going to use discoverer or SOA etc then java is mandatory. Please post the details like what software you are trying to install.
     
  3. zargon

    zargon Community Moderator Forum Guru

    Messages:
    2,347
    Likes Received:
    348
    Trophy Points:
    1,430
    Location:
    Aurora, CO
    Unless you have the current Java installation location set in the environment (other than in the PATH) then Oracle will use the Java version packaged with the installer. You will need to read the pre-installation documentation to see which variables Oracle is referencing to call Java and set those accordingly.
     
  4. zargon

    zargon Community Moderator Forum Guru

    Messages:
    2,347
    Likes Received:
    348
    Trophy Points:
    1,430
    Location:
    Aurora, CO
    The Oracle rdbms software, stated in the first sentence of his question. You said:

    "Naturally we don't need java for DB in any OS."

    yet Oracle has its own JVM and allows Java in the database as direct calls:

    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_5014.htm#SQLRF01211
    http://docs.oracle.com/cd/E11882_01/java.112/e10588/chthree.htm#JJDEV13216
    http://www.oracle.com/pls/db112/search?remark=quick_search&word=java+in+the+database

    It helps to read the documentation as Oracle is a dynamic product with a myriad of changes between releases.
     
  5. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hi Jack,

    You can download the java software from the following link:
    Java Download Link

    Then once you download the software you can install directly to your machine.