cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurred during initialization of VM

Former Member
0 Kudos

Hello Gurus,

I am trying to install SAP in new machine. While starting the below command i facing an error. please help me regarding this issue.

# ./sapinst

[==============================] | extracting...  done!

Starting GUIServer using:

  SAPinst port  : 21200

  GUIServer port: 21212

  HTTP port     : 4239

  GUI autostart : on

  GUI mode      : normal

  command       : /tmp/sapinst_exe.2805934.1333390503/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.2805934.1333390503/JAR/instgui.jar SDTGui sapinst host=localhost port=21200 -nolock

INI: [258] 13:15:25 ***ERROR (os.cpp:493): failed to load java lib: /tmp/sapinst_exe.2805934.1333390503/jre/lib/ppc64/libjava.so (                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               )

Error occurred during initialization of VM

Unable to load native library:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

init: retrieving account information for group sapinst...

init: retrieving account information done.

load resource pool /cddump/CDDUMP/Master_51032260/IM_AIX_PPC64/resourcepool.xml

guiengine: No GUI server connected; waiting for a connection on host GPR3TEST, port 21200 to continue with the installation

Thanks and Regards,

lakshmi

Accepted Solutions (0)

Answers (1)

Answers (1)

Amitjaiswal
Advisor
Advisor
0 Kudos

Hi,

I can see from the error

INI: [258] 13:15:25 ***ERROR (os.cpp:493): failed to load java lib: /tmp/sapinst_exe.2805934.1333390503/jre/lib/ppc64/libjava.so (                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               )

Error occurred during initialization of VM

Unable to load native library:             

The reason for this error is actually the JVM is not correct can you please tell us what is the path you are defining for env SAPINST_JRE_HOME and JAVA_HOME . the major problem is either the  /tmp/sapinst_exe.2805934.1333390503/jre/lib/ppc64/libjava.so file is not present or the file is corrupt . Can you please check the same and tell us .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

Former Member
0 Kudos

Dear Amit,

The Path for env  SAPINST_JRE_HOME and for JAVA_HOME is /usr/java14_64

For JAVA_HOME I tried with '/' as well but no result.

Thanks adn Regards,

Lakshmi



Former Member
0 Kudos

HI,

Problem Solved by changing the source.

Thanks for the response