# Using Ignition with OpenJDK (Windows)?

**URL:** <https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047>\
**Category:** Ignition\
**Created:** [May 15, 2018, 5:53pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047 "2018-05-15T17:53:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmelendez](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@pmelendez](https://forum.inductiveautomation.com/u/pmelendez)\
**Post date:** [May 15, 2018, 5:53pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/1 "2018-05-15T17:53:13Z")

</div>

I’ve been attempting to install/run Ignition using OpenJDK on Windows, but have been running into issues, as Ignition is looking for Oracle Java instead.

Is anyone aware of a guide/best practices for using OpenJDK to run Ignition on Windows?

Thanks in advance.

---

<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 15, 2018, 5:58pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/2 "2018-05-15T17:58:36Z")

</div>

What issues are you seeing?

Ignition doesn’t look for Oracle Java specifically… unless you’ve got a hard-coded path to it in your ignition.conf.

By default, it just expects Java to be available on $PATH.

---

<div class="post-metadata">

**Author:** ![pmelendez](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@pmelendez](https://forum.inductiveautomation.com/u/pmelendez)\
**Post date:** [May 15, 2018, 6:16pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/3 "2018-05-15T18:16:42Z")

</div>

For instance, the Native Client Launcher won’t recognize OpenJDK - it gives the following error on launch:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f7f74de08ddcde3f798ea6647589a5c4032be9ff.PNG)

Furthermore, it appears OpenJDK can’t launch Designer by itself - it doesn’t recognize .jnlp files. I’ve looked into IcedTea as a way to launch Designer, but it appears to be only stable on Linux.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [May 15, 2018, 6:49pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/4 "2018-05-15T18:49:39Z")

</div>

Currently, the Native Launcher can’t detect OpenJDK installs, so for now you’ll have to do a workaround. Copy all of the folders from the root of your OpenJDK install (`bin`, `lib`, etc) and place them in a `jre` folder that is sitting in the same directory as your client launcher executable. Not an ideal solution, but it should get your clients/designers up and running.

---

<div class="post-metadata">

**Author:** ![pmelendez](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@pmelendez](https://forum.inductiveautomation.com/u/pmelendez)\
**Post date:** [May 15, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/5 "2018-05-15T19:18:33Z")

</div>

This workaround solved the issue. Thanks!

---

<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:** [May 15, 2018, 7:28pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/6 "2018-05-15T19:28:32Z")

</div>

> [@James.Lorenz](#):
>
> Currently, the Native Launcher can't detect OpenJDK installs, so for now you'll have to do a workaround.

On windows. They appear to work fine on Linux. (-:

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [May 15, 2018, 7:41pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/7 "2018-05-15T19:41:39Z")

</div>

Yup, that’s correct, thanks for adding that distinction Phil. I believe this is because launch4j only looks for Oracle-specific registry entries for finding JRE/JDK installs on Windows.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 15, 2018, 10:15pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/8 "2018-05-15T22:15:39Z")

</div>

I’ve installed ignition twice on two separate machines for development over the last few machines. Both windows and both uses the openJDK with no issues.

I installed openJDK 9 at first and wouldn’t work, once I installed 8 it work straight away.

---

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [August 15, 2018, 7:05pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/9 "2018-08-15T19:05:32Z")

</div>

Found this thread because I am getting the same error as above regarding JRE 1.6.0 when launching the clientlauncher.exe. I have tried copying all the files and folders from an actual Java v6 JRE folder to a “jre” folder in the same location as my clientlauncher.exe and I’m still getting the same error. I even tried with Java 7 & 8 in case the “1.6.0” in the error was wrong, still no luck.

What am I still missing?

---

<div class="post-metadata">

**Author:** ![rmdalisay](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@rmdalisay](https://forum.inductiveautomation.com/u/rmdalisay)\
**Post date:** [January 23, 2019, 9:20am UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/10 "2019-01-23T09:20:28Z")

</div>

Hi.  
Have you been able to resolve this? I’m also still getting the same error.

---

<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:** [January 23, 2019, 3:50pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/11 "2019-01-23T15:50:14Z")

</div>

Upgrade to 7.9.10 and use the native client launchers with embedded Java (from Azul Systems) and you won’t have to worry about system java detection.

The underlying issue in this thread was a problem with launch4j, which switching to an embedded runtime allowed us to avoid using.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 17, 2025, 7:54pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/12 "2025-04-17T19:54:54Z")

</div>

I am on 7.7.1 and do not have a support contract. I will see what the upgrade would cost.

However, the jre folder trick did not work for me. I put the client launcher exe and the copied jre folder in the documents folder. I also tried making a Java/jre (and Java/jre6) folder in program files with the `bin`, `lib` etc. but nothing is working.

---

<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 17, 2025, 8:22pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/13 "2025-04-17T20:22:44Z")

</div>

Consider upgrading to the last version of 7.7 and trying its client launcher.

---

<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 17, 2025, 8:38pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/14 "2025-04-17T20:38:17Z")

</div>

What problem are you trying to solve?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 17, 2025, 8:52pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/15 "2025-04-17T20:52:30Z")

</div>

This:

> [@pmelendez](#):
>
> the Native Client Launcher won't recognize OpenJDK - it gives the following error on launch:
> 
> ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f7f74de08ddcde3f798ea6647589a5c4032be9ff.PNG)

---

<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 17, 2025, 9:22pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/16 "2025-04-17T21:22:07Z")

</div>

Java 6, not Java 8.

You may have to compile it yourself.

---

<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 17, 2025, 9:23pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/17 "2025-04-17T21:23:16Z")

</div>

Hmm, I thought we had always included a Java runtime with the launcher.

Java 6... tall order.

---

<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 17, 2025, 9:23pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/18 "2025-04-17T21:23:53Z")

</div>

> [@Kevin.Herron](#):
>
> always included a Java runtime

I don't think so. Pretty sure that started with 7.9.10.

---

<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 18, 2025, 12:28am UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/19 "2025-04-18T00:28:36Z")

</div>

I just spun up a Windows VM, installed Ignition 7.7.1, installed Azul JDK 8 (MSI installer, yes to all the checkboxes), and this is enough to run both the Ignition Gateway and the Client Launcher and run a Designer, etc...

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 18, 2025, 3:07pm UTC](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047/20 "2025-04-18T15:07:25Z")

</div>

What's the java path look like in the `ignition.conf` file?

[Next page](https://forum.inductiveautomation.com/t/using-ignition-with-openjdk-windows/18047.md?page=2)
