我正在尝试加载jnlp文件。但是我有以下错误:Could not read or parse JNLP file
。我已经读到这个问题可能是通过Mozilla的首选项解决的:编辑->首选项->应用程序->“Java Web Start应用程序”。但是,我的应用程序中没有“Java Web Start应用程序”部分(我已经安装了icedtea-netx,但“应用程序”窗口中没有任何显示)。我正在使用Linux Mint。有人可以告诉我如何进行吗?我提到的解决方案在此论坛中:https://askubuntu.com/questions/91897/first-time-using-java-web-start-in-ubuntu-fatal-launch-exception
编辑:这是我有的错误:
net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file.
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:491)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:211)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
Caused by: java.io.IOException: Connection timed out
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:282)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:212)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:188)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:173)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:159)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
... 5 more
Caused by:
java.io.IOException: Connection timed out
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:282)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:212)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:188)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:173)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:159)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:211)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
最佳答案
这个问题太笼统了,因为它没有指出到底什么是行不通的。
我将尝试提供一些观察结果
可以找到更多详细信息Here
希望这可以帮助