Posts

Showing posts from September, 2012

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_07/jre/bin/

kbuildsyscoa4 KConfigIni Invalid Escape Sequence

Fedora 17 x86_64 After a recent update got a bunch of these in a terminal session. kbuildsycoca4 running... "KConfigIni: In file /home/me/.local/share/applications/wine/Programs/Spotify.desktop, line 4: " "Invalid escape sequence "\ "."  Most of these warnings referred to .desktop files whose "Categories" line did not terminate with a ";". OK fine. Those were easily fixed. But the above message related to this line in my Spotify.desktop file, Exec=env WINEPREFIX="/home/me/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/me/.wine/dosdevices/c:/users/me/Start\ Menu/Programs/Spotify.lnk and it took some experimentation to resolve the issue.  Adding an extra back slash solved the problem. (Added back slash in red ). Exec=env WINEPREFIX="/home/me/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/me/.wine/dosdevices/c:/users/me/Start\ \ Menu/Programs/Spotify.lnk