Project and Portfolio Management Practitioners Forum
cancel

Installation of PPM 8.0 - Error "check envrionment"

SOLVED
Go to solution
Highlighted
Sascha_1
Super Contributor.

Installation of PPM 8.0 - Error "check envrionment"

Hi everybody,

 

i get an not comprehensible error trying to install PPM 8.0 from scratch.

I try to install PPM on a windows machine, therefore i set JAVA_HOME with the installation directory path (D:\Java\jdk1.6.0_21). Furthermore i edited the .bash_profile with the following entry:

 

export JAVA_HOME=/cygdrive/d/Java/jdk1.6.0_21

export PATH=$JAVA_HOME/bin:$PATH

 

I checked the environment variables using the follwing command in DOS:

echo %JAVA_HOME%

java -version

 

Both commands are successful. In addition, i also checked the variable in cygwin using

echo $JAVA_HOME

 

Any ideas, how to solve this problem?

Regards

Sascha

2 REPLIES
dirkf
Acclaimed Contributor.
Solution

Re: Installation of PPM 8.0 - Error "check envrionment"

Hi Sascha,

 

you are referring to a known problem. This has been created and fixed in SP 2 - you can find the issue under

http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR1L24526, fixed in SP 2.

 

For those that cannot or don't want to upgrade to Service Pack 2 at the moment, here the workaround implemented:

 

 

An unexpected value is being returned when determining if PPM is running on Windows or UNIX. The line causing the problem is:
isUnix=`ls c: 1> /dev/null 2>&1 ; echo $?`

Change the kSupport to the below (make a copy first). After this, it should work as expected. Let us know when it is.


##########################################################################
 What OS type are we running on?  DOS based or Unix?
 If isUnix == 0, then the OS is assumed to be Windows based.
 If isUnix > 0, then the OS is assumed to be Unix based.
isUnix=`ls c: 1> /dev/null 2>&1 ; echo $?`
echo lsc=`ls c:`
echo uname=`uname`
isUnix=`uname | grep CYGWIN`
if [ "$isUnix" != "" ]; then
  isUnix=0
else
  isUnix=1
fi
echo isUnix=$isUnix

Cat_2
Super Contributor.

Re: Installation of PPM 8.0 - Error "check envrionment"

Could be it doesn't understand the /cygdrive notation in your location. Remove that and put d:/Java/jdk1.6.0_21

 

Adding... the note dirkf added is true as well, but that never stopped me from installing PPM, just running kSupport.sh