[SOLVED] Opening a .jnlp file in Wine on a Mac

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
digital_dreamer
Posts: 3
Joined: 29 Aug 2020, 00:55

[SOLVED] Opening a .jnlp file in Wine on a Mac

Post by digital_dreamer »

Is it possible to run OpenWebStart with Amazon Corretto 8 in Wine on a Mac? Crazy, I know.
(I have to use Corretto 8, as that's the only version compatible.)

I've been running Parallels 16 Desktop on the Mac to run some Java apps via .jnlp files.
But, I would like to get away from using a memory hogging VM for little apps.

I've been able to access OpenWebStart Settings in Wine (the interface is a bit wonky. No surprise there.), but can't locate or load Amazon Corretto.
Under Settings I'm not able to select Amazon as vendor, as it wasn't located. Can I do this manually via text file?

Any tips and tricks are welcome!

Janak Mulani
Posts: 157
Joined: 24 Mar 2020, 13:37

Re: Opening a .jnlp file in Wine on a Mac

Post by Janak Mulani »

> Is it possible to run OpenWebStart with Amazon Corretto 8

Yes.

>
I've been able to access OpenWebStart Settings in Wine (the interface is a bit wonky. No surprise there.), but can't locate or load Amazon Corretto.
>

Run itw-settings > JVM Manager > Add Local
Then you can choose your local installation of Amazon. You can also do Find Local in which case OWS will find local installations of JVMs.
JVMs.PNG
JVMs.PNG (81.75 KiB) Viewed 397 times
Also see docs at https://github.com/karakun/OpenWebStart ... umentation

Stephan Classen
Posts: 139
Joined: 27 Mar 2020, 09:55

Re: Opening a .jnlp file in Wine on a Mac

Post by Stephan Classen »

Is your JNLP application Windows only?
If not you can also install and run OpenWebStart directly on your MacOS

digital_dreamer
Posts: 3
Joined: 29 Aug 2020, 00:55

Re: Opening a .jnlp file in Wine on a Mac

Post by digital_dreamer »

I already know how to setup Amazon Corretto with OWS on either platform. The question is how to accomplish this via Wine.
I was able to open OWS settings via itw-settings.exe. That's workable. As mentioned before, the interface interaction is a bit wonky.

The Java app doesn't run on the Mac anymore. I used to run it on Oracle Java, but the vendor made some major changes and it no longer works. Just as well, as licensing issues forbid using Java anymore. Thanks, Oracle! So, back to Windows. It runs on Windows fine. I'm just trying to make it run on Wine.

I think the problem I'm running into now is associating the .jnlp file to run the javaws.exe on Wine on the Mac. The Mac will only associate a file to an App, so there's no current way to associate the .jnlp file to open with javaws.exe. Bummer. I'll keep looking and may contact WineHQ.

digital_dreamer
Posts: 3
Joined: 29 Aug 2020, 00:55

Re: Opening a .jnlp file in Wine on a Mac

Post by digital_dreamer »

I was able to get it to run in the Terminal:

Code: Select all

wine path/to/javaws.exe path/to/sample.jnlp

Post Reply