Hi Ryan,
Though this likely merits its own topic, I can give you some hints.
Though the
Compatibility Matrix indicates otherwise, I've found that the OpenJDK 8 works just fine with Dollar Universe, and it has an open license (so I avoid any nebulous legal aspects of using Oracle). I use the AdoptOpenJDK version of Java 8 with the IcedTea-Web package (which can be selected during install) and it is functionally identical to Oracle Java. The Iced Tea-Web package is necessary to run any Web Start applications like UVC WebStart and UVC Web Console.
There are a few minor changes you need to make for it to work with Dollar Universe, but they are one-time changes.
Dollar Universe looks for the result of the 'java -version' command in order to ensure you are using a validated version of Java. With Oracle Java, the result is "java version" whereas with OpenJDK the result is "openjdk version". This will cause Dollar Universe components UVC and UVMS to fail both at install as well as during startup (if you replace Oracle Java with OpenJDK, for example). To work around this, here are the steps:
When replacing Oracle Java with AdoptOpenJDK 8:
For UVMS
- Uninstall Oracle Java
- Install AdoptOpenJDK 8
- Make sure you manually select the options to: set the JAVA_HOME variable; set the javapath; install Iced Tea-Web
- Modify your 'unienv' file to replace the JAVA_ORSYP path to the one pointing to the new AdoptOpenJDK installation path
- Modify both the 'unistartms' and 'unistsrv' files to replace the string 'findstr /b "java version""' with 'findstr /b "openjdk version""'
For UVC
- In the 'univiewer_console' file replace the string 'findstr /b "java version""' with 'findstr /b "openjdk version""'
I've tested this on Windows, but not yet on Linux, so it may be slightly different.
If you need to install a new UVMS or UVC instance, there are other changes that need to be considered. If you respond here, I can give some additional guidance. I've also not tested with the Manager for Java or any other associated manager integrations. I can if need be and if you are using them.
I hope this helps!
------------------------------
Regards,
Domenico Cotugno
Support Automation Apta Solutions
------------------------------
Original Message:
Sent: 01-19-2021 10:15 AM
From: Ryan Zerbe
Subject: UniViewer Console webstart link not working
Thanks for this info, I came here looking for similar info, although I'm also concerned about Java licensing, if I continue using Java 8 and whatever free updates they release, am I allowed to use that license for free? We don't use Java for anything outside of Dollar Universe.
There is a lot of different vague info on this topic out there. Anything you could clarify would be great.
Thanks,
Ryan
Original Message:
Sent: 01-18-2021 01:39 PM
From: SupportAutomation AptaSolutions
Subject: UniViewer Console webstart link not working
I'd like to amend my previous statement. Both UVC WebConsole and UVC WebStart will not work with Java 11, as the underlying technology for both is Java WebStart (the JavaWS binary delivered until Java 8). So, the current recommendation is to continue using Java 8 if you would like to use WebStart OR WebConsole. Java 8, which includes WebStart, is supported until 2030.
------------------------------
Regards,
Domenico Cotugno
Support Automation Apta
Original Message:
Sent: 10-20-2020 09:25 AM
From: SupportAutomation AptaSolutions
Subject: UniViewer Console webstart link not working
In addition to what @Adrian Fresno Menendez has stated, your organization should start looking into alternative solutions to WebStart as Oracle has deprecated this feature as of Java 11. Whether you use Oracle Java or an OpenJDK variant, this functionality will not be present going forward.
The recommended path forward for Dollar Universe is to use UVC WebConsole. It offers similar benefits to WebStart in that the installation is centralized, therefore it only needs to be updated in one place. In addition to this, since all communication from UVC in this mode is done from the server hosting WebConsole, you will only need to set up your network for the one server, as opposed to every machine that might be running UVC locally (WebStart downloads a local version of UVC, which then has the exact same requirements as the standalone version). The only caveat to using WebConsole as opposed to WebStart is that all connected users would utilize the resources of the host server where WebConsole is running; you therefore need to size your host accordingly.
------------------------------
Cordialement,
Support Automation Apta
Original Message:
Sent: 10-19-2020 12:24 PM
From: Gerry Muyargas
Subject: UniViewer Console webstart link not working
Hello,
We have a couple of users who are trying to access our UVC console. Univiewer console webstart, http://<DNS name>/univiewer_console_webstart/, through all types of browsers, and are getting HTTP error 404, page not found error. Is there someone who can assist and advise what they need to do? So far, we have only 2 users who are having these issues. I'm not sure what's causing their issue though, but mine is working, and most users.
We have version UVC 6.9.21.
Thanks in advance for your help.
Gerry Muyargas