Unix/Linux Go Back    


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

Java install

Gentoo


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-20-2016
Phuti Phuti is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 20 September 2017, 7:21 AM EDT
Location: I live in Pretoria, South Africa
Posts: 71
Thanks: 19
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
    #2  
Old Unix and Linux 12-20-2016
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 22 September 2017, 12:35 PM EDT
Location: NM
Posts: 11,181
Thanks: 560
Thanked 1,093 Times in 1,009 Posts
Look at the environment variable JAVA_PATH:


Code:
echo $JAVA_PATH

It is probably set up incorrectly. Check your PATH variable as well.
Sponsored Links
    #3  
Old Unix and Linux 03-15-2017
Swathe Swathe is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 6 September 2017, 9:29 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
    #4  
Old Unix and Linux 05-24-2017
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
Reply

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 08:06 PM.