How to update the Java version on the Tunnel Proxy

Note: VMware products are tested and validated with the Java version packaged in the installer. Typically you can expect other versions to function equally, however if there are compatibility issues then the recommendation will be to roll back to the Java version provided with the installer.


How to update the Java version on the Linux Tunnel Proxy

  1. Download the latest RPM package for Java from the official Oracle website and upload it to the Linux server.
  2. Install the RPM package. Example command:
    sudo rpm -i jdk-8u112-linux-x64.rpm
  3. Run sudo update-alternatives --config java and select the latest Java version       
  4. To ensure that Java was upgraded, run the following command and verify “default” point to “latest” which points to upgraded version
    ls -la /usr/java/  
    Linux Example
  5. Restart the VMware Tunnel Proxy service.

How to update the Java version on the Windows Tunnel Proxy

  1. Update the Java on the server to the required version.
  2. Go to Control Panel>System>Advanced System Settings>Environment Variables
  3. Change JAVA_HOME and Path variables to point to the latest Java folders in User and System variables section image002.png
  4. Open Command Prompt and run java -version to verify the upgraded version
  5. Navigate to C:\Airwatch\TunnelProxy\service\proxy-conf. Edit proxyServiceWrapper.conf and change the wrapper.java.command to the new version of Java. As an example:

    If you are updating the Java version from 1.8.0_51 (Java 8 update 51) to 1.8.0_91 (Java 8 update 91), change the line:

    **wrapper.java.command= C:/PROGRA~1/Java/JRE18~1.0_5/bin/java

    To

    **wrapper.java.command= C:/PROGRA~1/Java/JRE18~1.0_9/bin/java 

    Note: The folder name in this path for your Java runtime has to be in 8.3 format. Run the dir /x command in Command Prompt to identify the folder name format for your latest Java version in 8.3.
  6. Restart the VMware Tunnel Proxy service

Other Languages: 日本語

Have more questions? Submit a request

0 Comments

Article is closed for comments.