Limitation: With an agent upgrade as per upgrade procedure the JRE of the agent is wiped of with new JRE (bundled in upgrade package) which means the content of JRE installed on the system, which can impact other applications relying JAVA present on system.
Recommendation: On windows we recommend to use the java bundled with Agent
Disclaimer: The below steps should be used with discretion of the reader, apprehending associated Risk elaborated in Limitation section above.
Step to configure Nolio Agent to use the pre-installed JRE on system:
- Navigate to path where JRE install on system and create a copy of java.exe at path SYSTEM_JRE_INSTALL_PATH\jre\bin\java.exe
- Rename the copied "java - Copy.exe" file to NolioAgent.exe
- Delete the jre folder i.e. AGENT_INSTALL_DIR\jre folder.
- Create either Junction or Symbolic link as below
- Junctions: mklink /J "AGENT_INSTALL_DIR\jre" "SYSTEM_JRE_INSTALL_PATH\jre"
- Symbolic Link: mklink /D "AGENT_INSTALL_DIR\jre" "SYSTEM_JRE_INSTALL_PATH\jre"
- Start the NolioAgent.