How to use update-java-alternatives with a local installation of the JDK?
Posted
by
user827992
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user827992
Published on 2012-07-04T14:49:06Z
Indexed on
2012/07/04
15:23 UTC
Read the original article
Hit count: 279
jdk
I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives
with a really bad man page.
I just have my JDK unpacked on a mounted partition like /media/mydisk/jdk
, how i can force the use of that JDK instead of the one that comes in the Ubuntu repository?
What is the logic behind this update-java-alternatives
?
© Ask Ubuntu or respective owner