Camaleón wrote: > On Fri, 13 Aug 2010 18:45:54 +0200, Merciadri Luca 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:
== # ls -l /etc/alternatives | grep "java-6-sun" lrwxrwxrwx 1 root root 40 2010-07-23 16:18 appletviewer -> /usr/lib/jvm/java-6-sun/bin/appletviewer lrwxrwxrwx 1 root root 31 2010-07-23 16:18 apt -> /usr/lib/jvm/java-6-sun/bin/apt lrwxrwxrwx 1 root root 44 2010-07-23 16:18 ControlPanel -> /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel lrwxrwxrwx 1 root root 36 2010-07-23 16:18 extcheck -> /usr/lib/jvm/java-6-sun/bin/extcheck lrwxrwxrwx 1 root root 41 2010-07-23 16:18 HtmlConverter -> /usr/lib/jvm/java-6-sun/bin/HtmlConverter lrwxrwxrwx 1 root root 32 2010-07-23 16:18 idlj -> /usr/lib/jvm/java-6-sun/bin/idlj lrwxrwxrwx 1 root root 37 2010-07-23 16:18 jarsigner -> /usr/lib/jvm/java-6-sun/bin/jarsigner 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 lrwxrwxrwx 1 root root 36 2010-07-23 16:18 jconsole -> /usr/lib/jvm/java-6-sun/bin/jconsole lrwxrwxrwx 1 root root 40 2010-07-23 16:18 jcontrol -> /usr/lib/jvm/java-6-sun/jre/bin/jcontrol lrwxrwxrwx 1 root root 31 2010-07-23 16:18 jdb -> /usr/lib/jvm/java-6-sun/bin/jdb lrwxrwxrwx 1 root root 37 2010-07-23 16:18 jexec -> /usr/lib/jvm/java-6-sun/jre/lib/jexec lrwxrwxrwx 1 root root 42 2010-07-23 16:18 jexec-binfmt -> /usr/lib/jvm/java-6-sun/jre/lib/jar.binfmt lrwxrwxrwx 1 root root 32 2010-07-23 16:18 jhat -> /usr/lib/jvm/java-6-sun/bin/jhat lrwxrwxrwx 1 root root 33 2010-07-23 16:18 jinfo -> /usr/lib/jvm/java-6-sun/bin/jinfo lrwxrwxrwx 1 root root 32 2010-07-23 16:18 jmap -> /usr/lib/jvm/java-6-sun/bin/jmap lrwxrwxrwx 1 root root 31 2010-07-23 16:18 jps -> /usr/lib/jvm/java-6-sun/bin/jps lrwxrwxrwx 1 root root 38 2010-07-23 16:18 jrunscript -> /usr/lib/jvm/java-6-sun/bin/jrunscript lrwxrwxrwx 1 root root 37 2010-07-23 16:18 jsadebugd -> /usr/lib/jvm/java-6-sun/bin/jsadebugd lrwxrwxrwx 1 root root 34 2010-07-23 16:18 jstack -> /usr/lib/jvm/java-6-sun/bin/jstack lrwxrwxrwx 1 root root 33 2010-07-23 16:18 jstat -> /usr/lib/jvm/java-6-sun/bin/jstat lrwxrwxrwx 1 root root 34 2010-07-23 16:18 jstatd -> /usr/lib/jvm/java-6-sun/bin/jstatd lrwxrwxrwx 1 root root 40 2010-07-23 16:18 native2ascii -> /usr/lib/jvm/java-6-sun/bin/native2ascii lrwxrwxrwx 1 root root 39 2010-07-23 16:18 pack200 -> /usr/lib/jvm/java-6-sun/jre/bin/pack200 lrwxrwxrwx 1 root root 42 2010-07-23 16:18 policytool -> /usr/lib/jvm/java-6-sun/jre/bin/policytool lrwxrwxrwx 1 root root 32 2010-07-23 16:18 rmic -> /usr/lib/jvm/java-6-sun/bin/rmic lrwxrwxrwx 1 root root 37 2010-07-23 16:18 schemagen -> /usr/lib/jvm/java-6-sun/bin/schemagen lrwxrwxrwx 1 root root 42 2010-07-23 16:18 servertool -> /usr/lib/jvm/java-6-sun/jre/bin/servertool lrwxrwxrwx 1 root root 41 2010-07-23 16:18 tnameserv -> /usr/lib/jvm/java-6-sun/jre/bin/tnameserv lrwxrwxrwx 1 root root 41 2010-07-23 16:18 unpack200 -> /usr/lib/jvm/java-6-sun/jre/bin/unpack200 lrwxrwxrwx 1 root root 33 2010-07-23 16:18 wsgen -> /usr/lib/jvm/java-6-sun/bin/wsgen lrwxrwxrwx 1 root root 36 2010-07-23 16:18 wsimport -> /usr/lib/jvm/java-6-sun/bin/wsimport lrwxrwxrwx 1 root root 31 2010-07-23 16:18 xjc -> /usr/lib/jvm/java-6-sun/bin/xjc == -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. Have no fear of perfection; you'll never reach it. (Salvador Dali)
signature.asc
Description: OpenPGP digital signature