openSUSE Forums > Archives > Novell Archives » How to use update-alternatives

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-Aug-2005, 11:44
James Rome
Guest
 
Posts: n/a
Default How to use update-alternatives

I installed Sun's jdk1.5.04 into /usr/java (the default).

I have been unable to figure out how to get update-alternatives to move
all of the java links to jdk1.5 instead of the jdk1.4.2 that SuSE
installed in 9.3 Pro.

Is there an easy way? If not, this seems to be a step backwards.

Thanks,
Jim
  #2 (permalink)  
Old 29-Aug-2005, 14:56
cobrp
Guest
 
Posts: n/a
Default Re: How to use update-alternatives

James Rome wrote:

> I installed Sun's jdk1.5.04 into /usr/java (the default).
>
> I have been unable to figure out how to get update-alternatives to move
> all of the java links to jdk1.5 instead of the jdk1.4.2 that SuSE
> installed in 9.3 Pro.
>
> Is there an easy way? If not, this seems to be a step backwards.
>
> Thanks,
> Jim

Try: update-alternatives --config java and make your choice.
Try: man update-alternatives

  #3 (permalink)  
Old 29-Aug-2005, 18:04
James Rome
Guest
 
Posts: n/a
Default Re: How to use update-alternatives

cobrp wrote:

>
> Try: update-alternatives --config java and make your choice.
> Try: man update-alternatives
>

I did that. But there are about 15 java things in /etc/alternatives. How
do I update them all to point to the new java sdk in one fell swoop.
  #4 (permalink)  
Old 30-Aug-2005, 00:36
cobrp
Guest
 
Posts: n/a
Default Re: How to use update-alternatives

James Rome wrote:

> cobrp wrote:
>
>>
>> Try: update-alternatives --config java and make your choice.
>> Try: man update-alternatives
>>

> I did that. But there are about 15 java things in /etc/alternatives. How
> do I update them all to point to the new java sdk in one fell swoop.

How about: http://lists.suse.com/archive/suse-l...Jun/0283.html?
I admit there is not much documentation about the alternatives, ;-)

 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2