FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-20-2011, 09:11 AM
Jamie Paul Griffin
 
Default Using 'update-alternatives' for java

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?
--
Jamie Paul Griffin jamie@kode5.net.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-20-2011, 06:35 PM
Ric Moore
 
Default Using 'update-alternatives' for java

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-21-2011, 07:26 AM
Jamie Paul Griffin
 
Default Using 'update-alternatives' for java

On Tue, Dec 20, 2011 at 02:35:18PM -0500, Ric Moore wrote:
> 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

Thanks it did. I hadn't done the update-repository bit, I wondered if there was a way that wouldn't require that because it has installed a load of gnome libraries which I wanted to avoid. I only have fluxbox installed and want to keep the system clear of all that stuff. Still, thanks anyway.

jamie.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org