Weasis on Mac OS Java 8

625 views
Skip to first unread message

Gadi Levy

unread,
Nov 28, 2017, 10:27:52 AM11/28/17
to dcm4che
Following Java update to the latest version (8_151), it seems that Weasis can't be launched on Mac OS no matter which method is used.
Using the jnlps:// url scheme (which according to the official Java documentation should be registered automatically on Mac OS) produces a response "no application is registered to handle url...". Trying to choose Java Web Start manually fails - the application is not launched.
Using the jnlp file download method and clicking on the jnlp file to launch it fails with a message that the application was blocked because it is from an untrusted developer.
It is possible to override this and allow the jnlp file to run from the security tab in the system preferences, however, this has to be done for each jnlp file that is downloaded separately, which of course is not practical.
Any solution to allow Weasis to run on Mac?

Nicolas Roduit

unread,
Nov 29, 2017, 1:23:58 PM11/29/17
to dcm4che
In new OS X releases you need need to disable GateKeeper. As Mac has its own security layer and don't trust the Java one, it becomes difficult to deploy on Mac (see this post).

Gadi Levy

unread,
Jan 6, 2018, 5:24:47 PM1/6/18
to dcm...@googlegroups.com
Disabling GateKeeper indeed allows for opening jnlp files directly (after the browser downloads them).
However, although the jnlp:// and jnlps:// url-schemes are supposed to be registered in Mac OS out of the box (according to the official Oracle Java Web Start documentation), this doesn't seem to be the case.
The behavior I'm seeing is this:
In chrome on Mac OS - the link is not opened at all (nothing happens, nothing in the console).
In Safari - a message pops out saying no application is registered to handle the url jnlps://... with an option to choose an application. However, strangley enough, after browsing and pointing to Java Web Start, still nothing happens...
Very strange.

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/hsSKvxr_YgQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Nicolas Roduit

unread,
Jan 7, 2018, 4:12:46 AM1/7/18
to dcm4che
There is a bug that requires running once the Java Web Start Launcher (/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/javawslauncher.app). However, this bug should be fixed in recent releases but there is still an open issue.

You can try launching Weasis from the new demo webpage.


Le samedi 6 janvier 2018 23:24:47 UTC+1, Gadi Levy a écrit :
Disabling GateKeeper indeed allows for opening jnlp files directly (after the browser downloads them).
However, although the jnlp:// and jnlps:// url-schemes are supposed to be registered in Mac OS out of the box (according to the official Oracle Java Web Start documentation), this doesn't seem to be the case.
The behavior I'm seeing is this:
In chrome on Mac OS - the link is not opened at all (nothing happens, nothing in the console).
In Safari - a message pops out saying no application is registered to handle the url jnlps://... with an option to choose an application. However, strangley enough, after browsing and pointing to Java Web Start, still nothing happens...
Very strange.
Reply all
Reply to author
Forward
0 new messages