Starting in version 6.10, Univiewer (as well as all other Dollar Universe components) no longer supports Java 7 at all. Java 8 or Java 11 must be used. If Univiewer Console (UVC) is running in Web Start or WebConsole mode, Java 8 must be used, as Java WebStart (javaws) has been deprecated in all future versions. Java 8 will be supported until 2030. For the purposes of this guide, I will assume Java 8 is used as it covers all use cases.
In order to upgrade to Univiewer 6.10, a Java 8 instance must first be installed on the Univiewer Management Server as well as any clients running UVC. Not only must a Java 8 instance be installed, but UVMS and UVC’s configuration files must be configured to be using this new instance. If Univiewer version 6.4.01 or older is used, please consult Annex A on this topic below.
As with any Dollar Universe upgrade, the appropriate order to upgrade components is: 1) UVC, 2) UVMS, and finally 3) Dollar Universe.
The first thing that needs to be done is to install a Java 8 instance. This can be installed alongside a Java 7 instance, so as to not disturb any applications (including Univiewer / Dollar Universe) that may be using it. If an OpenJDK version of JRE will be used, please consult Annex B on this topic below.
Java 7 and previous versions are no longer supported in 6.10.x and superior Dollar Universe Components.
Here are the steps to follow to upgrade UVC for each different mode. This assumes the Java 8 instance has already been installed.
3. Deploy the new Univiewer WebStart version in the Tomcat.
Here are the steps to follow to upgrade UVMS. This assumes the Java 8 instance has already been installed.
Here are the steps to follow to upgrade Dollar Universe nodes. This only applies if you are using a Manager that requires Java (Manager for Java, Web Services, JMS, EJB). This assumes the Java 8 instance has already been installed.
Univiewer 6.4.01 and prior versions did not support Java 8. Therefore, it is necessary to upgrade to an intermediate version which supports both Java 7 and Java 8. It is recommended to upgrade to version 6.9.61 which is the last version to support both versions of Java. Once at version 6.9.61, switch to Java 8 and proceed with the upgrade, as detailed above.
Oracle has changed its licensing model since 2019 and no longer allows for commercial use of Java under its free license. For this reason, many users who do not pay licensing to Oracle for other products are not willing to do so solely for Dollar Universe. Luckily, there are free and open-source versions of Java SE that can be used instead. OpenJDK 11 is already supported for Dollar Universe and Univiewer version 6.10. However, for customer who use Univiewer WebStart or WebConsole, Java 11 cannot be used. OpenJDK Java 8 can be used with Univiewer, but it requires some tweaking.
First, OpenJDK must be installed correctly. We recommend AdoptOpenJDK 8 HotSpot. For WebStart and WebConsole to work, it is mandatory to also install the IcedTea-Web module. See this screenshot for details on Windows:
For Linux, consult the AdoptOpenJDK website for instructions on how to install for the given distribution.