Home Man
Search
Today's Posts
Register

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

Java install

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 12-20-2016
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...
# 2  
Old 12-20-2016
Look at the environment variable JAVA_PATH:

Code:
echo $JAVA_PATH

It is probably set up incorrectly. Check your PATH variable as well.
# 3  
Old 03-15-2017
You can also use the eslelect tool so choose between versions of installed packages
# 4  
Old 05-24-2017
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.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15 TechGyaann Fedora 6 12-22-2017 11:59 PM
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
How to install java (jdk-74) on solaris 10? aagusman Solaris 1 06-16-2012 03:30 AM
Java won't install ClarkN Debian 1 12-10-2010 04:53 AM
How to install Java in Debian Lenny ro0t3d Debian 2 05-08-2010 01:27 PM
how to install new java versions to 264 version4.0 alpha rasa_still_here UNIX for Dummies Questions & Answers 0 11-13-2008 03:01 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
License issue on Java install morgan_g AIX 0 06-22-2007 01:10 PM


All times are GMT -4. The time now is 05:25 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password