• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Slawomir Wieczorek
Greenhorn
Posts: 20
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Slawomir Wieczorek
Greenhorn
Posts: 20
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic