cancel
Showing results for 
Search instead for 
Did you mean: 

SAP netweaver 7.1 CE to 7.3 Upgrade error

Former Member
0 Kudos

Hi

I am receiving the following error while upgrading from SAP neteaver CE 7.1 to SAP Netweaver 7.3 Java(on Linux and MaxDB 7.8)

Couldnot detetct sapjvm on system.

com.sap.sdt.j2ee.tools.sapjvm.SapJvmException: DIR_CT_SAPJVM is not set in the profile for instance J00 on host sbl-ci

I have tried the folllowing steps and it did not help

1. place the parameter in instance profile with the following value

DIR_CT_SAPJVM = $(DIR_EXE_ROOT)$(DIR_SEP)jvm$(DIR_SEP)$(OS_PLATFORM)
$(DIR_SEP)sapjvm_$(SAPJVM_VERSION)

2. restart sap and reset SUM

But the error still persistts

Does it have to be a different value or is it a totally different issue

Also, I tried checking the value of the same using the below and sappfpar didn't like the value and throw me a different error( the value SAPSYTEMNAME is also in instance profile and environment variable)

sbl-ci:sbladm 66> sappfpar

Parameter-Name....: DIR_CT_SAPJVM

sappfpar=>sapparam(1c): No Profile used.

sappfpar=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

Result............: /usr/sap//SYS/exe/jvm/linuxx86_64/sapjvm_

Thanks in advance

Correction: Checked the profile parameters using the following and parameters looks ok

sbl-ci:sbladm 63> sappfpar pf=SBL_J00_sbl-ci

Parameter-Name....: jstartup/vm/home

Result............: /usr/sap/SBL/J00/exe/sapjvm_6

Parameter-Name....: DIR_CT_SAPJVM

Result............: /usr/sap/SBL/SYS/exe/jvm/linuxx86_64/sapjvm_6.1.042

Parameter-Name....: DIR_SAPJVM

Result............: /usr/sap/SBL/J00/exe/sapjvm_6

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bharathi,

Try this :

Get the value of instance profile parameter "jstartup/vm/home". This is the new JAVA_HOME path.
Modify JAVA_HOME parameter for <sid>adm OS user:

  • For UNIX systems: go to directory '/home/<sid>adm', open file .j2eeenv(_host).(c)sh and modify the value of JAVA_HOME where it has been initially set

Thanks,

Ravi

Answers (0)