Recently i received a mail from IA support, which says:
“We are hard at work developing Ignition v8.0 and when we release it later this year we are planning to bundle Java into the Ignition install. In v8.0, there will be no need to install Java to launch clients. This will make the experience of using Ignition simpler to manage and easier to maintain”.
This is a very good decision and appreciated. Meanwhile on my Ubuntu 17.10 home server, i have:
openjdk version “1.8.0_162” OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-0ubuntu0.17.10.2-b12) OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
Ignition: 7.9.5
So far, i didn’t find any performance issues. Everything seems to be working normal. I would like to know, which is the best recommended option by IA for Ignition?. OpenJDK or OracleJDK or AzulJDK?
It did used to be that way, but as of JDK 7 or 8 the code bases converged, OpenJDK became the reference implementation, and performance equalized. And as of JDK 9 the 32-bit and 64-bit Hot Spot engine for ARM also became part of OpenJDK.
Yes, Oracle's licensing changes only effect those who want to remain on the Oracle-provided JVM.
Yes. We are working on a refresh of the native launchers that will include a bundled JVM as well. These will be released in both 7.9 and 8.0+.
Web Start is dead. You can remain on Java 8 and continue using it for as long as you want, but it'll be best to migrate to native launchers once we release the new ones.
alam@alamdtubuntu1804:~/tcp-client-server$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
alam@alamdtubuntu1804:~/tcp-client-server$ sudo update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
Nothing to configure.
But the script console shows:
Jython 2.5.3 (v2.5.3:3d2dbae23c52+, Nov 17 2012, 11:51:23)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_171
I uninstalled the ubuntu openjdk completely, downloaded AdoptOpenJDK, extracted into /opt folder, configured .bash_profile, rebooted my server, restarted Ignition and checked.
I’m not sure who you think the primary driver of the OpenJDK project is (hint: It’s still Oracle!) but that version string in the script console is just returning the value of the system property java.vm.vendor. If it bothers you that much, you can always build it yourself which is the real advantage of OpenJDK.
from java.lang import System
print System.getProperty("java.vm.name")
print System.getProperty("java.vm.vendor")
It looks like there is now yet another alternative, Amazon Corretto. It was announced in a blog post.
There’s also an official site:
I have no idea if using this would be a good idea. Also, it’s interesting to note that they have it for Mac, and Windows, but if you want it on Linux you have to be using Amazon Linux 2 or Docker.