Unfortunately, the AdoptOpenJDK breaks my UniFi controller app.
I installed Java8 again (most recent download) and UniFi worked again.
This broke Weatherlink Live Desktop GUI.
Is there a way to force the WLL GUI to use the AdoptOpenJDK so I can leave the original Java for UniFi? Command line switch?
I like this WLL GUI, but I have to be able to access UniFi and update firmware, etc. I suppose I could try it on my Linux box, but I have a bunch of stuff already running on it.
Greg H.
I found out that there is an option under the .jar desktop link properties for "Opens with", and the OpenJDK Platform Binary was available. I used the "Change" button and selected the OpenJDK. Works fine, and I can still keep the original Java for UniFi.
Greg H.
Glad you got it to work for both.
As long as you still have the JDK 11 installed somewhere, you just need to be able to launch with it. You can make a shortcut that links to the java 11 java.exe, and pass in the jar path as a parameter, or you can even make a .bat file if you want to be really old school
Java 8 is essentially dead, (and its license precludes its use for anything but personal use anymore) so most new stuff wont get developed with it. Oracle put Java on the fast train for releases after that, (9, 10 in less than a year, which no one used), and 11, which is a "long term support" release... but the amount of changes from 8 to 11 unfortunately breaks most software that was written for 8.
They are currently on Java 13, but because of their churn, most folks won't write to it, until they get to their next LTS release.
I'll publish another version pretty soon, found some errors in the automated chart updates for the rain fall. Harder to test here this time of year, all of our moisture is frozen...