I am trying to load an jnlp file. However I have the following error: Could not read or parse JNLP file
. I've read that this the problem might be fixed from Mozilla's preferences: Edit -> Preferences -> Applications -> "Java Web Start application". However I dont have "Java Web Start application" section in my Applications (I've installed icedtea-netx but nothing appeares on the Application window). Im using Linux mint. Can someone tell me how to proceed? The solution I refer is in this forum: https://askubuntu.com/questions/91897/first-time-using-java-web-start-in-ubuntu-fatal-launch-exception
EDIT: this is the error that I have:
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)
Because JNLP files are program-specific, your computer may not properly recognize JNLP files to execute them using the Java Web Start application. If this happens, you need to modify your computer's file associations so that JNLP files open correctly with the Java Web Start application.
How do I run a JNLP file in Ubuntu? Ubuntu has OpenJRE in its repositories, or you can download and install Oracle JRE. If the JNLP file is web based, you will need the IcedTea browser extension. If it runs from the command line you can usually run javaw <filename> to launch it.
Open Group Policy panel. User Configuration -> Administrative Templates -> Microsoft Edge. Find list of file types that should be automatically opened on download -> Enable and add JNLP value to options. Apply this policy setting.
This question is too broad because it doesn't specify what exactly doesn't work.
I'll try to provide a couple of observations
You might want to try running the jnlp file "locally" with "javaws" that should reside in the jdk, maybe the jnlp syntax is just wrong. More details can be found Here
Alternatively, maybe its some network issue.
Next possible reason that jnlp as you wrote it just not supported by the particular version of jdk. I remember in jdk 1.6.10 jnlp just didn't work, so an upgrade to a newer version has effectively solved the problem.
Hope this helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With