OSX Blocking JNLP Running Java1.8U40 - Does anyone know why?

We deploy our application as a JNLP startup file and / or as a web page applet.

I have a client who upgraded their Mac OSX system to the latest Java version 1.8_40. After updating the launch, JNLP stopped working. It seems that Java starts up (the blue java logo is blinking) and then stops. An exception is not thrown. I suspect another OSX security barrier.

  • We adjusted its OSX security settings to trust our application.
  • We adjusted its Java security to trust our site.
  • We also set Safari settings so that the application can work unlimited ("unsafe mode").
  • The application is signed with a code signing certificate.
  • The client can use the Applet launch method using the Java Safari plugin.
  • All other clients (OSX and Windows) are generally in order. If this is a new Java MAC issue, I would like to get ahead of it.

Does anyone else see this? Any clues on what causes the problem?

+5
source share
2 answers

Our guess is that the cause of this error was addressed to 8u40. We find that the application cannot get focus as soon as a new blue Java splash screen appears. We can also reproduce this in all demo web applications on our own Oracle site, so this is not our code.

You can confirm this error by running a webstart instance with -Xnosplash to skip this screen saver. Unfortunately, you cannot add this parameter to the jnlp file.

We can reproduce this problem only on OSX 10.10 (Yosemite).

The workaround (if you can control the settings of the Java client) is to add "-Xdebug" to the Java Control Panel -> Java -> View ... -> Run-time options.

Update: bug fixed and backported to 1.8u40 . Oracle is also quietly updating its downloads for the new build (1.8u40b27), or maybe here. I do not know that people are already working 1.8u40 will automatically receive an update.

+6
source

When I add '-Xdebug' in the Java control panel as a run-time parameter, it works for me.

0
source

Source: https://habr.com/ru/post/1214696/


All Articles