Glam Prestige Journal

Bright entertainment trends with youth appeal.

Where do I get the 'update-java-alternatives' command. What package does it come from? My understanding is that you use 'update-alternatives' to initially add a Java instance to your system but once you have multiple instances added you can use the 'update-java-alternatives' command to flip all the symlinks using a single command.

Can anyone provide insight on where I can get this command on ANY Debian system or even a Redhat system?

2

1 Answer

The update-java-alternatives command is in the java-common package. Red Hat systems don't seem to have it.

By the way, if you ever want to use a command but you don't know what package provides it, try installing apt-file and use its searching powers.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy