javaws can't load some jnlp files

Bug #220530 reported by meuns
12
Affects Status Importance Assigned to Milestone
sun-java5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hardy Heron 64bits RC

When i try to play on KGS go server and use : javaws http://files.gokgs.com/javaBin/cgoban.jnlp, i obtain :

Général
Une erreur est survenue au cours du lancement ou de l'exécution de l'application.
Catégorie : Erreur - argument incorrect
Impossible de charger le fichier/l'URL spécifié : cgoban.jnlp

Exception
CouldNotLoadArgumentException[ Impossible de charger le fichier/l'URL spécifié : cgoban.jnlp]
    at com.sun.javaws.Main.launchApp(Main.java:187)
    at com.sun.javaws.Main.main(Main.java:136)

Exception bouclée
java.io.FileNotFoundException: cgoban.jnlp (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:112)
    at com.sun.javaws.Main.launchApp(Main.java:182)
    at com.sun.javaws.Main.main(Main.java:136)

(Sorry for the french, but i use french language packages.)

I try to use all available java packages (ia32-sun-java6*, ia32-sun-java5, openjdk*...), but the error is "the same".

meuns (sylvainmeunier26)
description: updated
Revision history for this message
chreko (chreko) wrote :

I confirm this problem on my Hardy 64bit system.

Revision history for this message
Christophe Raverdy (craverdy) wrote :

So do I.

I have the same issue (I also use french language packages) with Hardy 64bit.

I ha've tried many packages as with apt-get as from java.com.

I've also been searching some clues with google before adding my comment.

Revision history for this message
roger (roger-schmid-info) wrote :

I had the same issue with english packages, java exception on loading the webstart-app was "java.net.UnknownHostException". It seems that 32bit DNS resolving was not working, installation of the package lib32nss-mdns resolved the issue for me.

Revision history for this message
Christophe Raverdy (craverdy) wrote :

hi.

By the way http://www.gokgs.com/applet.jsp still doesn't apply.

I've used sudo apt-get install lib32nss-mdns then I called
http://files.gokgs.com/javaBin/cgoban.jnlp and it does work fine.

thanks a lot.

Revision history for this message
chreko (chreko) wrote :

Installing lib32nss-mdns has solved the problem for me. Thank you, roger.

Revision history for this message
meuns (sylvainmeunier26) wrote :

It works ! THX

Revision history for this message
tytuz (tytusz) wrote :

In my version installing lib32nss-mdns didn't help.
When I invoke javaws http://files.gokgs.com/javaBin/cgoban.jnlp I still see the same error:

netx: Launch Error: Could not launch JNLP file. (java.lang.NullPointerException null)

Do you know what could be wrong ?

Revision history for this message
Ілля Романенко (ilyaromanenko) wrote :

lib32nss-mdns helps me too

Revision history for this message
Jan Obrátil (obrys) wrote :

I confirm that. The same problem in Hardy 64bit. Package lib32nss-mdns didn't solve it.

Try java fx here:
https://openjfx.dev.java.net/learning.html
In 32bit Gutsy it works fine.

Revision history for this message
tytuz (tytusz) wrote :

Hi there!

It helped me out:
http://dmartin.org/content/running-java-web-start-apps-ubuntu-linux-amd-64

Now I can run cgoban !

Revision history for this message
Jan Obrátil (obrys) wrote :

Hi!

The workaround described at http://dmartin.org/content/running-java-web-start-apps-ubuntu-linux-amd-64 solves it only partialy. Application runs in java5 not in 6. Java5 have serious problem in keyboard mapping in Swing components and it is unusable for me. (I use Czech layout.)

Revision history for this message
Ahmed Toulan (thelinuxer) wrote :

Hi guys,
I had the same problem on hardy 64bit. Here is how i solved the problem

sudo apt-get install ia32-sun-java6-bin
sudo update-alternatives --config javaws

Then I chose this option:

/usr/lib/jvm/ia32-java-6-sun/jre/bin/javaws

regards

Revision history for this message
mtopro (matt-mtopro) wrote :

Hello and Thank you Roger!
I have 64bit and the same issue. Have been searching for quite a while installing various packages trying to get ROES working (a java based photograph ordering system). Roger, your tip there did the trick. The lib32nss-mdns was the key to my woes.
Much appreciation!
:)

Revision history for this message
Dan Leighton (dan-sig7) wrote :

This worked for me on an i386 under Ubuntu 10.04 Maverick which would not launch the jnlp files.

Good job thelinuxer.

:-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.