Java web start- Johnson Controls

I have this annoying HVAC system at work and have to use a jnlp file to access an old Johnson Controls building management system.

When I attempt to sign into the server at 192.168.#.###, it gives me this link:
https://www.java.com/en/download/

I have installed the [Linux x64]

Downloaded a webstart.jnlp file from the link the johnson controls niagra system provides.

When I click on the file, I get nonstop, endless new Firefox tabs opening up. I have to close all the Firefox windows that are open and it opens another and keeps on flooding windows.

I am using Zorin 17.3

I installed the java files in my usr/me/java folder.

What can I do to diagnose this issue?

If this is controlling machinery, would it not be better to install a Windows VM to save you this hassle? That is what an engineering company in my present home-town did when Microsoft were ending support for a version of Windows that ran his CNC Lathe software - problem solved.

1 Like

It controls office fan coil units for cooling and heating. We have plenty of windows PCs but since moving to windows 11 we are not able to load the software there either but for different reasons. I have this Zorin machine that I am using to experiment with since we have several computers that are not Win11 compliant. We have some "terminals" we use for people to clock in/out on or just use basic apps like security camera access that don't require new PCs. Ideally we would leave a laptop open just for this one java app. It may run better in a different distro.

I have tried running in bottles, and wine, and directly using the linux distribution of java. Its just a web application, so I don't think it should be impossible.

i suppose we could do a direct connect and use a windows 10 machine with all outdated firefox and java editions, lock it offline so it cant be hacked.

1 Like

You could try this:

https://computingforgeeks.com/how-to-execute-open-jnlp-files-on-linux/?amp=

Replace "file.jnlp" with your file-name.

This alone is pretty odd. A web server is just a web server... the fact that it's having issues running due to the underlying operating system is just really weird. I'd say there's something wrong with how the application itself works, at least the part of serving the content to the user. Any chance you can get this looked at by the developer(s)?

However, if I understood correctly, you're fine running this in a single computer. Why not spawn a virtual machine with W10?

1 Like

I just haven't learned how to work with VMs. Not against it, just thought I would try to get this file working in linux and I am currently using Zorin.

Maybe this is the perfect excuse to learn about it :slight_smile:

I'd suggest VirtualBox since it works on both Windows and Linux. But if you prefer a Linux only approach, I'd recommend looking into KVM and Virt Manager... perhaps a bit too much for an introduction to Linux, but I'll leave this here in case you're interested in looking a bit more into it:


Is this an internal application, or can we download it as well to test it on our end?

I tried it today on a windows 10 machine and tried using 3 older versions of JRE and all of them failed. they fail for the same reason in terms of the errors. I am going to let our IT people figure this one out.

Looking fresh this morning, I removed all the Java and JRE from zorin used a fresh install of icedtea, jdk and just get more long errors.

Something must be wrong with the device or a firewall is blocking access.

Just an update that our IT guy threw 4 different versions of open source JRE JDK systems at it on windows 11 and his own linux system and has gotten roadblock after roadblock. We dont know what the problem is as of now but its not Zorin's fault.

1 Like

That makes sense, especially a Java program that's supposed to be "write once, run everywhere"...

Solved (not by me).

The manufacturer had a program on a website that solves the problem for windows and Mac OS. It works fine to run as a .msi program on Zorin with Windows installer.

They have a thing called Launcher on Johnson Controls website which I had tried but was not able to get anywhere with.

The actual program is called NIagraWebLauncher (Niagara Launcher is also an Android launcher so that adds confusion.

If some other wayward soul is looking for this it is here:

It works fine in Windows and wine. It basically is a stand alone custom java environment. ( I think, don't quote me.)

1 Like

Nice, thanks for the update :+1:

I'll just mark this last reply of yours as the solution for the thread to make it easier to find in the future, if needed.