Skip to Content
avatar image
Former Member

SAPInst not started on HP Unix 11.31

Dear All,

I am installing SAP ECC 6 on HP Unix 11.31 using X-Manager.

When I start sapinst system give below message and sapinst not start

  1. ./sapinst

[==============================] - extracting... done!

Warning: The SAPinst GUI could not be started because a Java Runtime Environment

(JRE) could not be found.

Either the JRE is not installed correctly or the environment variable SAPINST_JR

E_HOME is not set to the JRE installation home.

Be aware the SAPinst server is still running! You need to start SAPinst GUI stan

dalone on this or another host as described in the installation guide.

103 controller.errorStartingGuiUnix 1697

I have check the parameter SAPINST_JRE_HOME. It is already set reqired paramer in .profile and .dtprofile. I have also check with following command

#echo $SAPINST_JRE_HOME

/opt/java1.5/jre/bin

#echo $JAVA_HOME

/opt/java1.5/bin

But when I run comman system shows message as java not found.

#java -version

/sbin/sh: java: not found

But same command when i tried to connect thru PUTTY it gives me perfect version.

I have also tried with diffrent java version java 1.4.2.17.

Thanks in advance,

Nirav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 23, 2011 at 07:52 AM

    Hello Nirav,

    #echo $SAPINST_JRE_HOME

    /opt/java1.5/jre/bin

    #echo $JAVA_HOME

    /opt/java1.5/bin

    You have set wrong environment variables...

    Correct it as follows ( set in .profile):

    # export SAPINST_JRE_HOME=/opt/java1.5/jre
    # export JAVA_HOME=/opt/java1.5

    Also includes $JAVA_HOME in PATH variable;

    export PATH=$JAVA_HOME/bin:$PATH

    Then try again...

    In X-Manager session you can also set it in running terminal session and then execute "sapinst" in the same window.

    It will work.

    Regards.

    Rajesh Narkhede

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2011 at 08:16 AM

    Hi,

    Use java 1.4 only. Java 1.5 is not supported.

    Thanks

    Sunny

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear All,

      Thanks you all.

      My problem is solved.

      It was my mistak.

      In .dtprofile I have written "-" instead of '-' in PATH variable. It was ok in .profile. So I am able to get perfect path in PUTTY but due to wrong entry in .dtprofile I was facing problem in XManager.

      i.e.

      I have writtern as :

      PATH-$PATH.....

      I have also used java 1.4.

      Regards,

      Nirav

  • avatar image
    Former Member
    Sep 23, 2011 at 08:29 AM

    Hi,

    Addition to Sunny, check the Java vendor. Is it Sun or IBM?

    Best regards,

    Orkun Gedik

    Add comment
    10|10000 characters needed characters exceeded