Specify Java installation on mockservicerunner.sh
Hi everyone,
I have two java installation (jdk6 and jdk7) in a linux environment, with "$PATH" variable pointing to jdk 6 installation.
I don't have the credentials to change the "$PATH" variable value.
Is there any way to specify java version launching mockservicerunner.sh? Is it possible to specify java version inside the script (like the SOAPUI_HOME for example) ?
Thanks in advance,
Paolo
I believe that, any user can use his own required path. How is it different in your case?
You can just use below commands to change, when you login to your session. Note that, this will be applicable only for that current session. If you want them to be permanent i.e., available all the time on login, then you may set them in $HOME/.profile file
export JAVA_HOME=/set/it/to/jdk7
export PATH=$JAVA_HOME/bin:$PATH
You are done.