我无法使用“Java Web Start"启动 JNLP 应用程序? [英] I am not able launch JNLP applications using "Java Web Start"?

查看:195
本文介绍了我无法使用“Java Web Start"启动 JNLP 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到最近,我才能够使用 Java web startFirefox 中启动/打开 JNLP 文件.

Up until recently, I was able to launch/open JNLP files in Firefox using Java web start.

不知道发生了什么突然 JNLP 文件停止启动,出现一个启动画面,说 Java 正在启动... 然后什么也没有发生.甚至浏览器中的 Java Consolejavacpl.cpl 小程序也打不开.

Don't know what happened all of a sudden JNLP files stopped launching, a splash screen appears saying Java Starting... and then nothing happens. Even the Java Console in the browser and javacpl.cpl applet doesn't open.

尝试了所有可能性:删除所有旧版本并安装最新的JRE(java版本1.6.0_17"),仍然不起作用.

Tried all possibilities: removed all older version and installed the latest JRE (java version "1.6.0_17"), still it doesn't work.

针对此问题进行了一些谷歌搜索,人们建议使用 -viewer 选项启动 javaws.exe,但行为相同(出现闪屏,提示Java 启动..."然后消失)

Done some googling for this problem, people suggested to start javaws.exe with -viewer option but same behavior (a splash screen appears saying "Java Starting..." and then disappears)

问题是我不知道要查找任何地方(日志等)以查看导致问题的原因.

The problem is that I don't know any place (logs etc.) to look for to see what is causing the problem.

我使用的是 WinXP SP3,下面的一些屏幕截图显示了有关我的系统的更多信息.如果需要,我可以提供任何其他详细信息,但请帮助我解决此问题.

I am using WinXP SP3, and some of the screenshots below shows further info about my system. I can provide any other detail if required but please help me solve this problem.

推荐答案

虽然这个问题有点老,但问题是由损坏的 ClearType 注册表设置引起的,并通过修复它来解决,如this所述ClearType、install4j 和 Java 错误案例 帖子.

Although this question is bit old, the issue was caused by corrupted ClearType registry setting and resolved by fixing it, as described in this ClearType, install4j and case of Java bug post.

ClearType、install4j 和 Java bug Java 案例

ClearType, install4j and case of Java bug Java

你知道吗ClearType(Windows 中的字体平滑技术)与Java(编程语言和推荐的框架之一)?

Do you know what ClearType (font-smoothing technology in Windows) has in common with Java (programming language and one of the recommended frameworks)?

除了他们一起努力让我痛苦了几个月.我有一些我无法使用的 Java 软件安装.我的意思是真的不能——甚至不知道原因或在另一台 PC 上重现它.

Nothing except that they were working together hard at making me miserable for few months. I had some Java software that I couldn’t install. I mean really couldn’t – not even figure out reason or reproduce it on another PC.

最近我获得了 Woopra 测试版(站点分析服务)的批准,并且它使用用 Java 编写的桌面客户端……我无法安装.那得到我真的很生气.:)

Recently I was approved for Woopra beta (site analytics service) and it uses desktop client written in Java… I couldn’t install. That got me really mad. :)

故事所有有问题的软件都是相似的:

Story All of the software in question was similar :

基于 install4j 的设置;设置因一堆错误而崩溃.我曾是在早期(大约数百次)尝试解决期间指责 install4j问题.后来我才慢慢明白,如果是那样的话很长一段时间 - 解决方案会被创建和谷歌搜索.

setup based on install4j; setup crashing with bunch of errors. I was blaming install4j during early (hundred or so) attempts to solve issue. Later I slowly understood that if it was that bugged for that long time – solution would have been created and googled.

跟踪 从 install4j 转移焦点后,我决定推动 Java框架.我之前尝试过稳定版本所以决定去不稳定的 1.6 Update 10 候选版本.

Tracing After shifting focus from install4j I decided to push Java framework. I was trying stable versions earlier so decided to go for non-stable 1.6 Update 10 Release Candidate.

这实际上修复了错误消息,但不会崩溃.我也注意到了在包含安装文件的目录中创建了新的错误日志.之前我只看到了 Windows 临时目录中的日志.

This actually fixed error messages but not crashes. I had also noticed that there was new error log created in directory with setup files. Previously I had only seen logs in Windows temporary directory.

新的错误日志如下:

无法显示 GUI.此应用程序需要访问 X服务器.如果您有访问权限,则可能缺少 X 库.*********************************************************************** 您也可以在控制台模式下运行此应用程序,而无需访问X 服务器通过传递参数 -c 在上查找 X-Server 非常奇怪非 Linux PC,不是吗?所以我决定尝试使用-c"参数.和实际上能够在控制台模式下安装.

Could not display the GUI. This application needs access to an X Server. If you have access there is probably an X library missing. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c Very weird to look for X-Server on non-Linux PC, isn’t it? So I decided to try that "-c" argument. And was actually able to install in console mode.

圆满结局?不.现在安装的应用程序崩溃了.但它真的得到了我在想.如果控制台工作但图形界面不工作 – 有肯定是后者有问题.

Happy ending? Nope. Now installed app was crashing. But it really got me thinking. If console works but graphical interface doesn’t – there must be problem with latter.

另一个错误日志(在应用程序文件夹中)现在说(其中包括东西):

One more error log (in application folder) was now saying (among other things) :

引起:java.lang.IllegalArgumentException:-60397977 不兼容使用特定于文本的 LCD 对比度键成功地搜索了我Java 无法读取非标准 ClearType 的错误描述注册表设置.

Caused by: java.lang.IllegalArgumentException: -60397977 incompatible with Text-specific LCD contrast key Which successfully googled me description of bug with Java unable to read non-standard ClearType registry setting.

解决方案我立即从控制面板启动了 ClearType Tuner,然后发现设置显示乱码.更正后正确一个 Java 的所有问题都立即消失了.

Solution I immediately launched ClearType Tuner from Control Panel and found setting showing gibberish number. After correcting it to proper one all problems with Java were instantly gone.

cleartypetuner_screenshot 经验教训 不要急于指责单个应用程序的软件问题.即使是轻微的和完全的不相关的设置可能会引发致命的连锁反应.链接 Jave运行时环境 http://www.java.com/en/download/index.jsp

cleartypetuner_screenshot Lessons learned Don’t be fast to blame software problems on single application. Even minor and totally unrelated settings can launch deadly chain reactions. Links Jave Runtime Environment http://www.java.com/en/download/index.jsp

ClearType 调谐器http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

ClearType Tuner http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

Woopra http://www.woopra.com/

安装4jhttp://www.ej-technologies.com/products/install4j/overview.html

这篇关于我无法使用“Java Web Start"启动 JNLP 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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