File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Fatal: Read Error: Could not read or parse the JNLP file. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Fatal: Read Error: Could not read or parse the JNLP file." Watch "Fatal: Read Error: Could not read or parse the JNLP file." New topic
Author

Fatal: Read Error: Could not read or parse the JNLP file.

Slawomir Wieczorek
Greenhorn

Joined: Dec 07, 2011
Posts: 13

Hi! I have a problem with the jnlp extension files on my Ubuntu 11.10. Whenever I click on one system tries to activate it through Firefox. Firefox does not recognize files with the jnlp extension and each time it opens one in a new tab, and asks whether to download it to disk or open it in Firefox again. And so on...
When from the menu I choose "Open with IcedTea Java Web Start"
gives me the error: "Fatal: Read Error: Could not read or parse the JNLP file."

The only working way is to use the console command "javaws filename.jnlp"
What is happening?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

For the different MIME types and file extensions of data that a browser receives, different handlers are associated. Some of them are internal browser functions, some are external applications, some are plugins.

While Linux has a OS-level MIME mapping capability, Firefox also has its own, which is on the Preferences/Applications dialog.

However, that's just the start in Java. You may also need to make some settings in the system's Java Control Panel applet.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
Slawomir Wieczorek
Greenhorn

Joined: Dec 07, 2011
Posts: 13

Couldn't find correct solution to set the MIME types, so decided to try install an official JRE and JDK from Oracle and it worked...
 
 
subject: Fatal: Read Error: Could not read or parse the JNLP file.
 
Threads others viewed
Testing JNLP application
How to open a file with extension .rar
Opening files with .jnlp extension in IE 9 (Windows 7)
Java Web Start exits unexpectedly
Can POI read CSV files
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com