Page 1 of 1

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

Posted: 29 Aug 2020, 01:19
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!

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

Posted: 29 Aug 2020, 08:57
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 6563 times
Also see docs at https://github.com/karakun/OpenWebStart ... umentation

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

Posted: 29 Aug 2020, 22:50
by Stephan Classen
Is your JNLP application Windows only?
If not you can also install and run OpenWebStart directly on your MacOS

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

Posted: 31 Aug 2020, 19:54
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.

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

Posted: 01 Sep 2020, 20:39
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