# Ignition + (OpenJDK vs OracleJDK vs AzulJDK)?

**URL:** <https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802>\
**Category:** General Discussion\
**Tags:** ignition79\
**Created:** [April 23, 2018, 4:31am UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802 "2018-04-23T04:31:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [April 23, 2018, 4:31am UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/1 "2018-04-23T04:31:44Z")

</div>

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?_

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 23, 2018, 1:02pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/2 "2018-04-23T13:02:54Z")

</div>

OpenJDK is recommended unless you feel you need commercial support for some reason.

> **[AdoptOpenJDK](https://adoptopenjdk.net)**
>
> AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, Windows, ARM, Solaris, and AIX.

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [April 23, 2018, 1:53pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/3 "2018-04-23T13:53:59Z")

</div>

Nice to hear this will be the official recommendation. It used to be the other way around 😉

Does someone know how easy it is to switch from Oracle JDK to OpenJDK on Windows? I hope it doesn’t cause too much issues with the registry keys etc.

Btw, most Linux distributions already offer OpenJDK inside their repositories, so that should be quite easy to install or replace the Oracle JDK.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [April 23, 2018, 2:02pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/4 "2018-04-23T14:02:39Z")

</div>

> [@Kevin.Herron](#):
>
> OpenJDK is recommended unless you feel you need commercial support for some reason.

Thanks 🙂 So, shall we conclude that Oracle's decision whatsoever in future will NOT affect OpenJDK users?.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 23, 2018, 2:23pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/5 "2018-04-23T14:23:22Z")

</div>

> [@Sanderd17](#):
>
> Nice to hear this will be the official recommendation. It used to be the other way around 😉

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.

> [@R.Alamsha](#):
>
> Thanks 🙂 So, shall we conclude that Oracle's decision whatsoever in future will NOT affect OpenJDK users?.

Yes, Oracle's licensing changes only effect those who want to remain on the Oracle-provided JVM.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 23, 2018, 2:33pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/6 "2018-04-23T14:33:51Z")

</div>

This should do the trick for users of Oracle’s JDK8 on Ubuntu (headless in this case):

```auto
apt -y install openjdk-8-jdk-headless ; \
apt -y remove oracle-java8-set-default oracle-java8-installer ; \
apt -y autoremove

```

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 23, 2018, 3:25pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/7 "2018-04-23T15:25:53Z")

</div>

Eh, probably don’t want to use the headless version. Breaks the mobile module.

---

<div class="post-metadata">

**Author:** ![dnord](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@dnord](https://forum.inductiveautomation.com/u/dnord)\
**Post date:** [April 24, 2018, 4:51pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/8 "2018-04-24T16:51:38Z")

</div>

I understand that installation of Java isn’t required to launch a Perspective client, but what about a Vision client or a Designer session?

Java Web Start is deprecated since Java 9 and unsupported by OpenJDK. Will users be refered to native client launchers from now on?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 24, 2018, 5:02pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/9 "2018-04-24T17:02:40Z")

</div>

> [@dnord](#):
>
> Java Web Start is deprecated since Java 9 and unsupported by OpenJDK. Will users be refered to native client launchers from now on?

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.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 9, 2018, 6:18pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/10 "2018-05-09T18:18:32Z")

</div>

Here’s our official stance on all the Java changes: [https://inductiveautomation.com/blog/the-real-deal-about-java-and-the-future-ignition](https://inductiveautomation.com/blog/the-real-deal-about-java-and-the-future-ignition)

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [July 5, 2018, 7:07am UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/12 "2018-07-05T07:07:36Z")

</div>

> [@Kevin.Herron](#):
>
> Yes, Oracle's licensing changes only effect those who want to remain on the Oracle-provided JVM.

I installed new Ubuntu 18.04 on my machine, 2 days back. I installed open JDK and didn't install any oracle JDK. But, strangely this is what i see.

> alam@alamdtubuntu1804:~/tcp-client-server$ lsb\_release -a  
> LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch  
> Distributor ID: Ubuntu  
> Description: Ubuntu 18.04 LTS  
> Release: 18.04  
> Codename: bionic

> 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.

Systems overview page shows:

> Java Version: 1.8.0\_171-8u171-b11-0ubuntu0.18.04.1-b11

**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

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e0cfa4ea1d920bf7377183eb238e2b69550210f8.png)

What's the solution?. Thanks.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [July 5, 2018, 8:45am UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/13 "2018-07-05T08:45:15Z")

</div>

> [@Kevin.Herron](#):
>
> Here's our official stance on all the Java changes: [The Real Deal About Java and the Future of Ignition | Inductive Automation](https://inductiveautomation.com/blog/the-real-deal-about-java-and-the-future-ignition)

I uninstalled the ubuntu openjdk completely, downloaded [AdoptOpenJDK](https://adoptopenjdk.net/installation.html?variant=openjdk8#x64_linux), extracted into /opt folder, configured .bash\_profile, rebooted my server, restarted Ignition and checked.

> alam@alamdtubuntu1804:~$ echo $JAVA\_HOME  
> /opt/jdk8u172-b11/bin/java

> alam@alamdtubuntu1804:~$ java -version  
> openjdk version "1.8.0-adoptopenjdk"  
> OpenJDK Runtime Environment (build 1.8.0-adoptopenjdk-jenkins\_2018\_05\_19\_01\_00-b00)  
> OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)

Systems overview page shows:

> Java Version: 1.8.0-adoptopenjdk-jenkins\_2018\_05\_19\_01\_00-b00

Architecture:

> Gateway | Ignition-alamltubuntu1804  
> Version: 7.9.8 (b2018060714)  
> License: trial  
> Uptime: 22 minutes

**script console still shows Oracle**

> 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-adoptopenjdk

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2018, 3:12pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/14 "2018-07-05T15:12:51Z")

</div>

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](http://hg.openjdk.java.net/build-infra/jdk9/raw-file/tip/README-builds.html#configure) which is the real advantage of OpenJDK.

```python
from java.lang import System
print System.getProperty("java.vm.name")
print System.getProperty("java.vm.vendor")

```

---

<div class="post-metadata">

**Author:** ![ingraham](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@ingraham](https://forum.inductiveautomation.com/u/ingraham)\
**Post date:** [November 16, 2018, 4:41pm UTC](https://forum.inductiveautomation.com/t/ignition-openjdk-vs-oraclejdk-vs-azuljdk/17802/15 "2018-11-16T16:41:08Z")

</div>

It looks like there is now yet another alternative, Amazon Corretto. It was announced in a blog post.

> **[Introducing Amazon Corretto, a No-Cost Distribution of OpenJDK with Long-Term...](https://aws.amazon.com/blogs/opensource/amazon-corretto-no-cost-distribution-openjdk-long-term-support/?sc_channel=sm&sc_publisher=TWITTER&sc_country=Open%2BSource&sc_geo=GLOBAL&sc_outcome=adoption&trk=_TWITTER&sc_content=blog&linkId=59607335)**
>
> Update! Amazon Corretto became Generally Available on January 31st, 2019. Java is one of the most popular languages in use by AWS customers, and we are committed to supporting Java and keeping it free. Many of our customers have become concerned that...

There’s also an official site:

> **[Amazon Corretto Production-ready distribution of OpenJDK](https://aws.amazon.com/corretto/)**
>
> Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with no-cost long-term support. Amazon runs Corretto internally on thousands of production services and Corretto is...

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.
