Forum Stats

  • 3,816,896 Users
  • 2,259,247 Discussions
  • 7,893,584 Comments

Discussions

Error on install JDeveloper 12.2.1.4.0 in an Oracle Cloud Ampere A1 Instance with Oracle Linux 8.5

Daza25
Daza25 Member Posts: 22 Blue Ribbon

I have tried to install JDeveloper 12.2.1.4.0 in an Oracle Cloud Ampere A1 Instance with Oracle Linux 8.5, but the different install packages show errors.

By example Generic Installer:

Previously I have installed JDK 1.8.0_333 on Oracle Linux 8.5:

And rename the second .jar file:

And execute:

/usr/jvm/jdk1.8.0_333/bin/java -jar V998597-01.jar

But, this installer shows this error:

Extracting the installer . . . . . . . Done

Exception in thread "main" java.lang.NullPointerException

   at com.oracle.cie.nextgen.common.inventory.InventoryUtils.getDefaultInvPtrLoc(InventoryUtils.java:131)

   at com.oracle.cie.nextgen.launcher.PlatformHelper.getDefaultInventoryPointerFile(PlatformHelper.java:496)

   at com.oracle.cie.nextgen.launcher.Utils.getInvPtrLoc(Utils.java:449)

   at com.oracle.cie.nextgen.launcher.Launcher.doMainHelper(Launcher.java:2334)

   at com.oracle.cie.nextgen.launcher.Launcher.execute(Launcher.java:4107)

   at com.oracle.cie.nextgen.launcher.Launcher.main(Launcher.java:3969)

----------------------------------

2022-05-12 14:02:18,690 INFO [1] com.oracle.cie.nextgen.launcher.LogUtils - Launcher log file is /tmp/OraInstall2022-05-12_02-02-18PM/launcher2022-05-12_02-02-18PM.log.

2022-05-12 14:02:18,692 INFO [1] com.oracle.cie.nextgen.launcher.Launcher - Running jar: /home/opc/Downloads/V998597-01.jar

2022-05-12 14:02:18,712 INFO [1] com.oracle.cie.nextgen.launcher.LogUtils - Extracting to /tmp/orcl8520865731140203091.tmp.

2022-05-12 14:02:18,729 SEVERE [1] com.oracle.cie.nextgen.launcher.PlatformHelper - Can't get PlatformInfoHolder

2022-05-12 14:02:18,730 INFO [1] com.oracle.cie.nextgen.launcher.LogUtils - Extracting the installer . . .

2022-05-12 14:02:22,732 INFO [1] com.oracle.cie.nextgen.launcher.LogUtils - Finished self extraction to /tmp/orcl8520865731140203091.tmp.

2022-05-12 14:02:22,732 SEVERE [1] com.oracle.cie.nextgen.launcher.PlatformHelper - Can't get PlatformInfoHolder

2022-05-12 14:02:22,734 SEVERE [1] com.oracle.cie.nextgen.launcher.PlatformHelper - Can't get PlatformInfoHolder


Could you help me with this process, please?

I hope your help.


Regards

Answers

  • dvohra21
    dvohra21 Member Posts: 14,499 Gold Crown

    The Linux version Oracle Linux 8.5 is not be supported. Supported versions are:

    • Oracle Enterprise Linux 6 (64bit)
    • Oracle Enterprise Linux 7 (64bit)

    https://www.oracle.com/technologies/developer-tools/jdeveloper/12214certification.html

  • Daza25
    Daza25 Member Posts: 22 Blue Ribbon

    I have a computer with Oracle Linux 8.5, and JDeveloper works fine, I suppose is an issue of Generic Installer on Amper Processor, but it issue must be a solution


  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,300 Red Diamond

    User, habe you asked this on cloud support?

    I'm not sure if JDev runs on Ampere A1. Max ne the problem is that the installer doesn't know anything about this type of machine.

    Timo

  • dvohra21
    dvohra21 Member Posts: 14,499 Gold Crown

    At times JDev could get installed on an unsupported machine but give issues when used.

  • Daza25
    Daza25 Member Posts: 22 Blue Ribbon

    JDeveloper Installer run after create inventory file = oraInst.loc , but don't permit install on ORACLE_HOME Path

    1. First I have executed ./createCentralInventory.sh

    <<BEGIN SCRIPT >>

    #!/bin/sh

    # Create Central Inventory

    output=`id`

    UserID=`echo $output | cut -f1 -d ' ' | cut -f2 -d '=' | cut -f1 -d '('`

    if [ "$UserID" != "0" ]; then

      echo "This script must be executed as root" 

      exit 1

    fi

    INV=/home/opc/oraInventory

    GRP=opc

    INVPTRDIR=/etc


    echo "Setting the inventory to $INV"

    echo "Setting the group name to $GRP"


    if [ -d $INVPTRDIR ]; then

    chmod 755 $INVPTRDIR;

    else

    mkdir -p $INVPTRDIR;

    fi


    INVPTR=${INVPTRDIR}/oraInst.loc

    INVLOC=$INV


    PTRDIR="`dirname $INVPTR`";


    # Create the software inventory location pointer file

    if [ ! -d "$PTRDIR" ]; then

     mkdir -p $PTRDIR;

    fi

    echo "Creating the Oracle inventory pointer file ($INVPTR)";

    echo  inventory_loc=$INVLOC > $INVPTR

    echo  inst_group=$GRP >> $INVPTR

    chmod 644 $INVPTR


    # Create the inventory directory if it doesn't exist

    if [ ! -d "$INVLOC" ];then

     echo "Creating the Oracle inventory directory ($INVLOC)";

     mkdir -p $INVLOC;

    fi


    echo "Changing permissions of $INV to 770.";

    chmod -R g+rw,o-rwx $INV;

    if [ $? != 0 ]; then

     echo "OUI-35086:WARNING: chmod of $INV to 770 failed!";

    fi

    echo "Changing groupname of $INV to $GRP.";

    chgrp -R $GRP $INV;

    if [ $? != 0 ]; then

     echo "OUI-10057:WARNING: chgrp of $INV to $GRP failed!";

    fi

    echo "The execution of the script is complete"

    <<END SCRIPT >>                         

    This script create this file:


    2.Second, I have executed JDeveloper Installer (it works):

    /usr/jvm/jdk1.8.0_333/bin/java -jar V998597-01.jar -install -invPtrLoc /etc/oraInst.loc


    Note: /home/opc/Oracle/Middleware/Oracle_Home does not exist

    I have tried to use other Path for Oracle_Home , but nothing.

    Button "Finish" still lock.

    I hope your help.

    Regards

  • dvohra21
    dvohra21 Member Posts: 14,499 Gold Crown
  • Daza25
    Daza25 Member Posts: 22 Blue Ribbon
    edited May 17, 2022 1:47PM

    Thanks dvohra21, but every time that I have pressed button "Next", the installer does not change to " Summary Step"


    Do you (or other) have any suggestion?

  • dvohra21
    dvohra21 Member Posts: 14,499 Gold Crown

    As the screenshot indicates some system prerequisite checks failed.