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

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

问题描述

直到最近,我才能使用 Java web start Firefox 中启动/打开 JNLP 文件。

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

不知道突然发生了什么 JNLP 文件停止启动,出现了一个闪屏,说出 Java Starting ... 然后什么都没发生。甚至浏览器中的 Java控制台 javacpl.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 Starting ...然后消失)

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注册表设置引起的,并通过修复它来解决,如 ClearType,install4j和Java bug的情况发布。

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 beta(网站分析服务)和
它使用用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。后来我慢慢明白,如果是那个
长时间的故障 - 解决方案就会被创建并用Google搜索。

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 Release Candidate。

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非常奇怪对于
非Linux PC上的X-Server,不是吗?所以我决定尝试-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.

快乐的结局?不。现在安装的应用程序崩溃了。但它确实让我想到了b $ b。如果控制台工作,但图形界面没有 - 那么
必须是后者的问题。

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对比键哪个成功用Google搜索了我
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调谐器和
发现设置显示乱码。在将其更正为适当的
之后,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经验教训不要快速责怪
软件问题单一申请。即使是次要的和完全不同的b $ b不相关的设置也会引发致命的连锁反应。链接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 Tuner
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

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

Woopra < a href =http://www.woopra.com/ =nofollow> http://www.woopra.com/

install4j
http://www.ej-technologies.com/products/ install4j / overview.html

install4j http://www.ej-technologies.com/products/install4j/overview.html

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

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