For any Build to work successfully your build environment needs to be setup correctly. In this case we will be building a java project which will require the JAVA_HOME variable to be setup correctly.
For any Build to work successfully your build environment needs to be setup correctly. In this case we will be building a java project which will require the JAVA_HOME variable to be setup correctly. To add the JAVA_HOME system environment variable do the following.
Make sure that JAVA_HOME environment variable is set to a Java SDK installation and not a Java JRE installation. Make sure that JAVA_HOME\bin is in the system PATH env variable (if there is more than one java installation - make sure that the JAVA_HOME\bin of the SDK is at the front of of the PATH)
Unset the JAVA_HOME environment variable for the userid that is used to run 'pvcsstart' or 'pvcsstop'. The current value conflicts with the location of jre that gets installed with VM Server.
For example, using the following setting will cause trouble for the startup scripts found in $SERVER_HOME/bin: JAVA_HOME =C:"\PROGRAM FILES\JAVA" The affected variables are PATH