java-common

Bug #1056878 reported by Jan Groenewald
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

update-java-alternatives skips javaws. Is it supposed to?

0 root@muizenberg:/srv/local/guest#lsb_release -d
Description: Ubuntu 12.04.1 LTS
0 root@muizenberg:/srv/local/guest#update-java-alternatives --list
java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64
java-1.7.0-openjdk-amd64 1051 /usr/lib/jvm/java-1.7.0-openjdk-amd64
1 root@muizenberg:/srv/local/guest#ls -l /etc/alternatives/javaws
lrwxrwxrwx 1 root root 48 Sep 26 15:50 /etc/alternatives/javaws -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws
0 root@muizenberg:/srv/local/guest#update-java-alternatives -s java-1.6.0-openjdk-amd64
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
0 root@muizenberg:/srv/local/guest#ls -l /etc/alternatives/javaws
lrwxrwxrwx 1 root root 48 Sep 26 15:50 /etc/alternatives/javaws -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws
0 root@muizenberg:/srv/local/guest#update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in manual mode.
0 root@muizenberg:/srv/local/guest#update-java-alternatives -s java-1.7.0-openjdk-amd64
0 root@muizenberg:/srv/local/guest#ls -l /etc/alternatives/javaws
lrwxrwxrwx 1 root root 48 Sep 26 16:02 /etc/alternatives/javaws -> /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
0 root@muizenberg:/srv/local/guest#

Revision history for this message
Jan Groenewald (jan-aims) wrote :

Oh, and also itweb-settings:
0 root@muizenberg:/srv/local/guest#update-alternatives --list itweb-settings
/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings
0 root@muizenberg:/srv/local/guest#ls -l /etc/alternatives/* | grep java-6
lrwxrwxrwx 1 root root 56 May 10 12:41 /etc/alternatives/itweb-settings -> /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings
lrwxrwxrwx 1 root root 66 May 10 12:41 /etc/alternatives/itweb-settings.1.gz -> /usr/lib/jvm/java-6-openjdk-amd64/jre/man/man1/itweb-settings.1.gz

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.