Posts

Showing posts with the label javaws

Testing Java Web Start - javaws, Fedora 17

Image
Case 1: Google Chrome Browser or Firefox Browser without the icedtea-web plugin installed. In this case the .jnlp file is downloaded but not automatically run by the browser. For some reason Firefox is icedtea-web plugin friendly but Google Chrome is not. I don't know why that is. Go to  http://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html . Click the "Launch Button" that is near the top of the page. This will cause the file "dynamictree-webstart.jnlp" to be downloaded to your machine. Type "javaws dynamictree-webstart". You should see this Case 2: Firefox Browser with the icedtea-web plugin installed.  > rpm -qa | grep icedtea icedtea-web-1.3-1.fc17.x86_64 Open Firefox and go to the same link as above:  http://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html . Click the "Launch Button" that is near the top of the page as before. This will again cause the file "...

alternatives --install gets stuck: failed to read link: No such file or directory

Alternatives utility gets stuck doing install. Fedora 17 x86_64. Removing the /var/lib/alternatives/javaws file resolved the issue (for me). # alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7.0_07/jre/bin/javaws  20000 failed to read link /usr/bin/javaws: No such file or directory # ls /usr/bin/javaws ls: cannot access /usr/bin/javaws: No such file or directory # ls -al /var/lib/alternatives/javaws -rw-r--r--. 1 root root 105 Sep 22 11:39 /var/lib/alternatives/javaws # rm /var/lib/alternatives/javaws rm /var/lib/alternatives/javaws rm: remove regular file `/var/lib/alternatives/javaws'? y # alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7.0_07/jre/bin/javaws  20000 # which javaws /bin/javaws # ls /usr/bin/javaws /usr/bin/javaws # ls -al /var/lib/alternatives/javaws -rw-r--r--. 1 root root 65 Sep 22 11:50 /var/lib/alternatives/javaws # cat /var/lib/alternatives/javaws auto /usr/bin/javaws /usr/java/jdk1.7.0_0...