Jump to content

Alternatives command not working


Guest timb5163
 Share

Recommended Posts

Guest timb5163

I am installing java and following some instructions. When i get to this line this is the response I get.

 

[root@Home root]# alternatives --install /usr/bin/java java /usr/java/jre1.5.0_05/bin/java 3

-bash: alternatives: command not found

[root@Home root]#

 

Shouldn't I have the capability to run Alternatives.

 

Thanks.

 

Timb

Link to comment
Share on other sites

It's the first time I hear about this command.

If you mean a command like

 

update-alternatives --install something

 

...then it's Debian specific (Maybe Ubuntu also uses something like that).

 

I guess that you either have wrong instructions, or you follow them wrongly.

Regards.

Edited by scarecrow
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...