OSX阻止JNLP启动Java1.8U40 - 任何人都知道为什么? [英] OSX Blocking JNLP Launch Java1.8U40 - Anyone Know Why?

查看:247
本文介绍了OSX阻止JNLP启动Java1.8U40 - 任何人都知道为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们将我们的应用程序部署为JNLP启动文件和/或网页小程序。

We deploy our application as a JNLP launch file and/or as a webpage applet.

我有一位客户将他的MAC OSX系统更新为最新的Java版本1.8_40。升级后JNLP发布停止工作。它似乎启动Java(闪烁蓝色java徽标)然后停止。没有异常被抛出。我怀疑还有另一个OSX安全障碍。

I have a customer that updated his MAC OSX system to the latest Java Version 1.8_40. After upgrading the JNLP launch stopped working. It seems to start Java (flashes blue java logo) then stops. No Exception is thrown. I suspect yet another OSX security hurdle.


  • 我们调整了他的OSX安全设置以信任我们的应用程序。

  • 我们调整了他的Java安全性以信任我们的网站。

  • 我们还调整了Safari首选项以允许应用程序无限制地运行(不安全模式)。

  • 应用程序使用代码签名证书进行签名。

  • 客户可以使用safari Java插件使用Applet启动方法。

  • 所有其他客户(OSX和Windows)通常都很好。
    如果这是一个新的MAC Java问题,我想提前做好准备。

  • We adjusted his OSX Security settings to trust our application.
  • We adjusted his Java security to trust our site.
  • We also adjusted the Safari preferences to allow the application to run unrestricted ("unsafe mode").
  • The application is signed with a code signing certificate.
  • The customer can use the Applet launch method using the safari Java plugin.
  • All other customers (OSX & Windows) are generally fine. If this is a new MAC Java issue I'd like to get ahead of it.

其他人都看到了这个?关于导致问题的原因的任何线索?

Anyone else out there see this? Any clues about what is causing the issue?

推荐答案

我们的猜测是此错误已被移植到8u40。我们发现,一旦显示新的蓝色Java启动画面,应用程序就无法获得焦点。我们也可以在Oracle自己的网站上的所有演示webstart应用程序上重现这一点,因此它不是我们的代码。

Our guess is that the cause of this bug has been backported to 8u40. We find that the application cannot get focus once the new blue Java splash screen is shown. We can also reproduce this on all the demo webstart apps on Oracle's own site, so it isn't our code.

您可以通过运行webstart实例来确认此错误-Xnosplash跳过那个启动画面。遗憾的是,您无法将该参数添加到jnlp文件中。

You can confirm this bug by running your webstart instance with -Xnosplash to skip that splash screen. Unfortunately you cannot add that parameter to the jnlp file.

我们只能在OSX 10.10(Yosemite)上重现此问题。

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

解决方法(如果可以控制客户端Java设置)是在Java控制面板中添加-Xdebug - > Java - >查看... - >运行时参数。

A workaround (if you can control the client Java settings) is to add "-Xdebug" in Java Control Panel -> Java -> View... -> Runtime Parameters.

更新:该错误已得到修复,向后移植到1.8u40 。 Oracle还默默地将他们的下载更新到新版本(1.8u40b27),因为它可以在这里看到我不知道已经运行1.8u40的人会自动获得更新。

Update: the bug has been fixed and backported to 1.8u40. Oracle have also silently updated their downloads to the new build (1.8u40b27) as can be seen here I don't know that people already running 1.8u40 will get an update automatically.

这篇关于OSX阻止JNLP启动Java1.8U40 - 任何人都知道为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆