Using 'update-alternatives' for java

Ric Moore wayward4now at gmail.com
Tue Dec 20 19:35:18 UTC 2011


On 12/20/2011 05:11 AM, Jamie Paul Griffin wrote:
> I have followed a link from the Ubuntu support pages that describes using update-alternatives to select which java distribution I want to use. For me, this is Oracle JDK 1.7.
>
> Anyway, I did that and the java command is there; java -version prints out the right information. Having said that, the man pages have not been set up and nor has the javac compiler or any of the other commands in the JDK.
>
> Do I have to use the same update-alternatives process for each of the commands in the JDK and the man pages? Surely there is a method for updating it all at once? Does anyone know?

Did you try this??
http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html
It should help. Ric


-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html




More information about the ubuntu-users mailing list