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: 21 April 2017, 3:45 AM EDT
Location: I live in Pretoria, South Africa
Posts: 69
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: 23 April 2017, 1:10 PM EDT
Location: NM
Posts: 11,021
Thanks: 514
Thanked 1,045 Times in 968 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: 18 April 2017, 12:04 AM 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
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 01:50 PM.