Hi Saurabh,
Thanks for this suggestion. As stated earlier, I could not change the default java version installed, therefore, the only option that is left with me now is to try creating new user and use it for installation.
Just to let you know, I also tried this
export INSTALL4J_JAVA_HOME=<LOCATION_OF_JAVA6>/jreBut the installation is still failing.
The exact error message looks like this. Please check if you get any other hints at the root cause of the problem.
"
# ./nolio_agent_solaris-x64_6_6_0_b9640.sh
Unpacking JRE ...
Starting Installer ...
./nolio_agent_solaris-x64_6_6_0_b9640.sh: /opt/home/vdsfaae/ADS/nolio_agent_solaris-x64_6_6_0_b9640.sh.7488.dir/jre/bin/java: cannot execute
"
Best regards,
Amit Joshi
Original Message:
Sent: 08-14-2019 06:05 AM
From: Saurabh Jain
Subject: Selecting java version while installing CA-RA Agent
Hi Amit,
I haven't got able to try myself but I can make some suggestions.
1: change the default java to 1.8 (however, it may impact other application dependent on lower versions)
2: create a user with adequate access required for installation of Agent and in his profile configure the JAVA_HOME. Try to run the agent installer via this user and it should be picking the java configured in JAVA_HOME
Let me know if above help!
------------------------------
Regards,
Saurabh
Original Message:
Sent: 08-14-2019 05:36 AM
From: amit joshi
Subject: Selecting java version while installing CA-RA Agent
Hi,
My sever has a default java version installed as java 1.5. When i try to install CA-RA agent 6.6 on this Solaris server, I get a message that it could not launch java. The installer could not even unpack contents of the installation binary.
There is a restriction that i could not change the default java that is being used. I have java 1.8 installed on the server. Is there a way, I could instruct the CA-RA agent installed which java to use? Can i pass some argument to the installer asking it to use java 1.8 and not the default java version available on the server?
Waiting for your reply.
Best regards,
Amit Joshi