aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
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: 20

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: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Slawomir Wieczorek
Greenhorn

Joined: Dec 07, 2011
Posts: 20

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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Fatal: Read Error: Could not read or parse the JNLP file.