This content has been marked as final. Show 8 replies
user12078891 wrote:Do you need to change it permanently or temporary (to run a utility)?
On Windows, the file dmu/dmu/dmu.conf has the "SetJavaHome" parameter, and this works as the docs specifies.
On Unix (Solaris), the docs states that thsi is specified in the file $HOME/dmu_jdk, but I cannot get this to work.
And specifying JAVA_HOME and/or setting the jdk/bin catalog in first the PATH does not help.
It consistently uses picks up my jdk version 1.5 located in the /usr/java catalog, regardless of the environment variables and and dmu_jdk file (if I create it manually).
Am I doing something wrong?
If JAVA_HOME is set in *nix system, DMU will not create file ~/.dmu_jdk, the setting in the ~/.dmu_jdk will be ignored.
If JAVA_HOME is not set, DMU will check the file ~/.dmu_jdk, if the file does not exist, DMU will ask the JDK path.
Two ways, if you need to change JDK to start DMU.
1. set JAVA_HOME properly before run the dmu.sh
2. delete/modify ~/.dmu_jdk file, execute command "env -u JAVA_HOME sh dmu.sh" in dmu directory.