On Fri, 13 Aug 2010 19:33:56 +0200, Merciadri Luca wrote: > Camaleón wrote:
>> >> I think because you installed the package from outside Debian repos and >> so it got not recognized inside the whole package database. >> >> *** >> ls -l /etc/alternatives | grep "java-6-sun" >> *** >> >> If it's not there, I guess it won't be detected/managed by "update- >> alternatives" :-? >> >> >> >> Hmmm, by creating a symbolic link in the above dir? But maybe not the >> better way, though. I would read "man update-alternatives" to find out. >> > It's there: Sure...? :-P > # ls -l /etc/alternatives | grep "java-6-sun" (...) > lrwxrwxrwx 1 root root 33 2010-07-23 16:18 javac -> > /usr/lib/jvm/java-6-sun/bin/javac > lrwxrwxrwx 1 root root 35 2010-07-23 16:18 javadoc -> > /usr/lib/jvm/java-6-sun/bin/javadoc > lrwxrwxrwx 1 root root 33 2010-07-23 16:18 javah -> > /usr/lib/jvm/java-6-sun/bin/javah > lrwxrwxrwx 1 root root 33 2010-07-23 16:18 javap -> > /usr/lib/jvm/java-6-sun/bin/javap > lrwxrwxrwx 1 root root 40 2010-07-23 16:18 java-rmi.cgi -> > /usr/lib/jvm/java-6-sun/bin/java-rmi.cgi > lrwxrwxrwx 1 root root 39 2010-07-23 16:18 java_vm -> > /usr/lib/jvm/java-6-sun/jre/bin/java_vm > lrwxrwxrwx 1 root root 38 2010-07-23 16:18 javaws -> > /usr/lib/jvm/java-6-sun/jre/bin/javaws Let's compare with mine: stt008:~# update-alternatives --config java Hay 3 alternativas que proveen `java'. Selección Alternativa ----------------------------------------------- 1 /usr/bin/gij-4.3 + 2 /usr/lib/jvm/java-gcj/jre/bin/java * 3 /usr/lib/jvm/java-6-sun/jre/bin/java So, we are looking for "*java*" alternatives, right? :-) And... s...@stt008:~$ ls -l /etc/alternatives | grep "java-6-sun" (...) lrwxrwxrwx 1 root root 36 nov 15 2009 java -> /usr/lib/jvm/java-6-sun/jre/bin/java ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lrwxrwxrwx 1 root root 46 nov 15 2009 java.1.gz -> /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz lrwxrwxrwx 1 root root 39 jun 27 12:35 java_vm -> /usr/lib/jvm/java-6-sun/jre/bin/java_vm lrwxrwxrwx 1 root root 38 jun 27 12:35 javaws -> /usr/lib/jvm/java-6-sun/jre/bin/javaws lrwxrwxrwx 1 root root 48 jun 27 12:35 javaws.1.gz -> /usr/lib/jvm/java-6-sun/jre/man/man1/javaws.1.gz I think the "java" link is the one you are missing. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.08.13.17.49...@gmail.com