Unix/Linux Go Back    

Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

Java install


Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-20-2016   -   Original Discussion by Phuti
Phuti's Unix or Linux Image
Phuti Phuti is offline
Registered User
Join Date: Jan 2008
Last Activity: 6 December 2017, 4:07 AM EST
Location: I live in Pretoria, South Africa
Posts: 72
Thanks: 20
Thanked 0 Times in 0 Posts
Java install

Hi Guys

I have installed latest java version 8.0, but now when I use java -version I still get an old version.

How do I correct this ?

Thanks in advance...
Sponsored Links
Old Unix and Linux 12-20-2016   -   Original Discussion by Phuti
jim mcnamara's Unix or Linux Image
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 23 May 2018, 9:09 AM EDT
Location: NM
Posts: 11,385
Thanks: 614
Thanked 1,158 Times in 1,067 Posts
Look at the environment variable JAVA_PATH:


It is probably set up incorrectly. Check your PATH variable as well.
Sponsored Links
Old Unix and Linux 03-15-2017   -   Original Discussion by Phuti
Swathe's Unix or Linux Image
Swathe Swathe is offline
Registered User
Join Date: Sep 2008
Last Activity: 7 April 2018, 11:02 PM EDT
Posts: 68
Thanks: 1
Thanked 2 Times in 2 Posts
You can also use the eslelect tool so choose between versions of installed packages
Old Unix and Linux 05-24-2017   -   Original Discussion by Phuti
cb88's Unix or Linux Image
cb88 cb88 is offline
Registered User
Join Date: May 2017
Last Activity: 26 August 2017, 11:32 PM EDT
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Java - Gentoo Wiki

You if you emrege -uDNa @world as well as emerge --depclean afterwards you probably would have gotten the old java unmerged anyway... unless there was a dependancy pulling it in. not very likely though.

Moderator's Comments:
Java install Please use CODE tags as required by forum rules!

Last edited by RudiC; 05-25-2017 at 02:11 AM.. Reason: Added CODE tags.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Java Install Failure dhiralall Solaris 5 09-08-2016 08:52 AM
Install + launch java Helveticus UNIX for Dummies Questions & Answers 3 10-09-2014 02:04 PM
Java won't install ClarkN Debian 1 12-10-2010 04:53 AM
Trying to install Java 5 Kirath AIX 5 09-15-2008 03:57 AM
java install sheild murad.jaber Solaris 0 07-01-2007 05:01 AM

All times are GMT -4. The time now is 12:31 PM.