Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?
- From: Camaleón <noelamac@xxxxxxxxx>
- Date: Fri, 13 Aug 2010 17:15:05 +0000 (UTC)
On Fri, 13 Aug 2010 18:45:54 +0200, Merciadri Luca wrote:
Some months ago, I installed a Sun VM and SDK (I think this is so): jdk
1.6.0-12. I think that it was a .bin, and it resulted in the whole being
installed at /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12. The
problem is that it looks like unrecognized by update-alternatives:
# update-alternatives --config java
There are 2 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-4.3
*+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
Why?
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" :-?
What can I do to make it recognized?
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.
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2010.08.13.17.15.05@xxxxxxxxx
- Follow-Ups:
- References:
- Prev by Date: Re: Installing Debian from USB stick
- Next by Date: Re: building 2.6.35
- Previous by thread: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?
- Next by thread: Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?
- Index(es):
Relevant Pages
|