I migrated my PPM 9.22 server to new servers. I was able to configure enviroments correctly and able to test it successfully.
When i try to use them for deploying PPM objects, i get error that JAVA_HOME enivronmental variable is not set. I have ticket to HP and i was asked to use export commands. I did as asked for and issue still remains. Attaching screenshot of the error.
Can anyone please let me know if you fixed this issue before. I am on windows 2008 R2.
Yes please open the file and check if the any hardcoded JAVA_HOME is set in that. We recently migrated from UNIX to LINUX and were having similar kind of issues, related to JAVA_HOME. We then checked and updated this parameter to correct value in kVariables.sh and then run kUpdateHtml.sh Post that we did not face any issue. So check if you have anything like that.
JAVA_HOME is needed in the environment variables for User Variables section " i've attached an screenshot for you".
JAVA_HOME = C:\jdk170
It must point to a java 1.7 SDK home location, not JRE, in this example, jdk170 is where I installed java 1.7 SDK version (not JRE version) on PPM server.
Then in the System variables, for Path variable, make sure that you have something like C:\jdk170\bin added in the Path variable to point to the java home\bin directory, thus when PPM loads, it will look for the JAVA_HOME and Path variable to understand where your 1.7 java SDK installed and know its bin directory in order to see tool.jar in SDK bundle.
Note: After you have done set Java_home and path please restart your server to apply the changes.
Hope it helps.
“HP Support If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”