Gutsy & Hardy

Derek Broughton news at pointerstop.ca
Tue Jun 24 13:04:20 UTC 2008


Neil Winchurst wrote:

> Derek Broughton wrote:
>> Tycho Andersen wrote:
>> 
>>> First of all, this is my first post to kubuntu-users, hello everyone =)
>>>
>>> On Mon, Jun 23, 2008 at 12:26 PM, Neil Winchurst <barnaby at drofle.com>
>>> wrote:
>>>
>>>> First install I had Java Run Time working very easily via Add/Remove
>>>> programs. This time I have had to install Java manually, though I am
>>>> still trying to work out where to put the
>>>> link.<https://lists.ubuntu.com/mailman/listinfo/kubuntu-users>
>>>>
>>> You're speaking of Sun's JRE vs. gcj? I think by default (K)Ubuntu uses
>>> gcj, or /etc/alternatives/java. If you want to force it to use Sun's
>>> java, link java to /usr/lib/jvm/<pick your favorite version of java
>>> here>/jre/java.
>>>
>>> sudo ln -s `which java` /usr/lib/jvm/sun-jre-1.6/jre/java
>> 
>> Please don't.  Install the jdk/jre from multiverse (packages sun-java6-*)
>> and use "update-java-alternatives"
>> 
> Not quite sure what you mean here. Multiverse is enabled in my
> sources.list.
> 
> Looking through my available packages I find sun-java6-jdk. Is that what
> you are referring to?

Yes. Tycho's suggestion would work for any JVM that ended up
in /usr/lib/jvm, so I wanted to be sure you were actually getting the real
Ubuntu package.  Then update-java-alternatives will work.
-- 
derek





More information about the kubuntu-users mailing list