Java Web Start 无法启动
在我的 Windows 7 x64 计算机上,我在启动远程部署的 Web Start 应用程序时遇到问题(Web Start 应用程序按预期在另一台 PC 上正确启动)。在 IE 或 FF 中,我单击 web start 启动链接,下载 JNLP,它似乎被执行,但没有任何反应。我看到 javaws.exe 进程正在运行。我没有看到 java.exe 正在运行。
我不知道它是否相关,但我也无法让java控制台运行。在控制面板 Java 小程序设置中,我启用了“显示控制台”和“将 Java 图标放在系统托盘中”。我在系统托盘中也没有看到 Java 图标。
我正在运行 Java 1.6.0_21(32 位)。我能够运行 Netbeans,因此看起来好像 Java 已正确安装在我的计算机上。为什么网络无法开始工作?
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). In IE or FF, I click on the web start launch link, the JNLP is downloaded, it seems to get executed and nothing happens. I see javaws.exe processes running. I don't see a java.exe running.
I don't know if it's related but I also can't get the java console to run. In the Control Panel Java applet settings, I have have enabled "Show console" and "place Java icon in the system tray". I don't see the Java icon in the system tray either.
I'm running Java 1.6.0_21 (32 bit). I'm able to run Netbeans so the it appears as if Java is installed correctly on my machine. Why isn't web start working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我的公司加入域上的防火墙是问题所在。它阻止网络启动以及其他类型的应用程序正常工作甚至启动。打开端口就解决了。
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. Opening ports resolved it.
您是否完全确定您的 Windows 浏览器将 JNLP 后缀绑定到 javaws 可执行文件?
如果您下载该文件并双击,它是否可以正确打开?如果没有,请右键单击,然后调查“打开方式”下显示的内容...
Are you absolutely certain that your Windows browser is binding the JNLP suffix to the javaws executable?
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...
当我将 JNLP 规范切换到 6.0 时,我也出现了同样的症状。所以我简单地通过回到 1.5 来解决这个问题,我认为这是 NetBeans 中的默认版本,至少到 6.7 为止都是如此。
I had the same symptoms when I switched JNLP specifiction to 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.