update-alternatives --config java

Derek Broughton news at pointerstop.ca
Wed Aug 29 13:09:25 UTC 2007

Karl Auer wrote:

> On Mon, 2007-08-27 at 13:09 -0300, Derek Broughton wrote:
>> You might just try symlinking /usr/lib/jvm/java-1.4-sun
>> to /usr/lib/j2se/1.4.  I have no idea how well that might work :-)  But
>> Wulfy is right that this naming scheme never included the Blackdown java.
> I don't fully understand the alternatives system, but I believe there is
> a config file that lists what belongs to what alternative. Just
> symlinking something into a directory won't cut it unless the
> alternatives system is WAY smarter than I believe it is. But I suppose I
> could find out... :-)

Well, it's not "update-alternatives" itself, it's the
update-java-alternatives, and I'm not sure how that's hooked in.  I never
really expected a symlink to work, but it's worth a shot.

More information about the ubuntu-users mailing list