简体   繁体   English

Java Web Start无法启动

[英]Java web start doesn't launch

On my Windows 7 x64 machine, I'm having problems launching my remotely deployed Web Start app (the Web Start app launches correctly on another PC as expected). 在我的Windows 7 x64计算机上,我在启动远程部署的Web Start应用程序时遇到问题(Web Start应用程序按预期在另一台PC上正确启动)。 In IE or FF, I click on the web start launch link, the JNLP is downloaded, it seems to get executed and nothing happens. 在IE或FF中,我点击了网络启动启动链接,下载了JNLP,它似乎被执行了,没有任何反应。 I see javaws.exe processes running. 我看到javaws.exe进程正在运行。 I don't see a java.exe running. 我没有看到java.exe在运行。

I don't know if it's related but I also can't get the java console to run. 我不知道它是否相关,但我也无法运行java控制台。 In the Control Panel Java applet settings, I have have enabled "Show console" and "place Java icon in the system tray". 在控制面板Java小程序设置中,我已启用“显示控制台”和“将Java图标放在系统托盘中”。 I don't see the Java icon in the system tray either. 我也没有在系统托盘中看到Java图标。

I'm running Java 1.6.0_21 (32 bit). 我正在运行Java 1.6.0_21(32位)。 I'm able to run Netbeans so the it appears as if Java is installed correctly on my machine. 我能够运行Netbeans,因此看起来好像Java已在我的机器上正确安装。 Why isn't web start working? 为什么网络无法启动?

A firewall on my corporate joined domain was the problem. 我公司加入域上的防火墙就是问题所在。 It was preventing web start as well as other types of apps from working correctly or even launching. 它阻止了Web启动以及其他类型的应用程序正常工作甚至启动。 Opening ports resolved it. 打开端口解决了它。

Are you absolutely certain that your Windows browser is binding the JNLP suffix to the javaws executable? 您是否确定Windows浏览器将JNLP后缀绑定到javaws可执行文件?

If you download the file, and double click, does it open correctly? 如果您下载文件,然后双击,它是否正确打开? If not, then right click, and investigate what is presented under Open With... 如果没有,则右键单击,然后调查Open With下显示的内容...

I had the same symptoms when I switched JNLP specifiction to 6.0. 当我将JNLP指定切换到6.0时,我有相同的症状。 So I simply solved it by going back to 1.5, which I think is default in NetBeans, at least up til 6.7. 所以我简单地通过回到1.5来解决它,我认为这是NetBeans中的默认值,至少直到6.7。

<jnlp spec="6.0+"...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM