Java install

Login or Register 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-16-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:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 05-25-2017 at 03:11 AM.. Reason: Added CODE tags.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15 TechGyaann Fedora 6 12-23-2017 12:59 AM
Java Install Failure dhiralall Solaris 5 09-08-2016 09:52 AM
Install + launch java Helveticus UNIX for Dummies Questions & Answers 3 10-09-2014 03:04 PM
How to install java (jdk-74) on solaris 10? aagusman Solaris 1 06-16-2012 04:30 AM
Java won't install ClarkN Debian 1 12-10-2010 05:53 AM
How to install Java in Debian Lenny ro0t3d Debian 2 05-08-2010 02:27 PM
install macbook pro fedora10 ???((<<if can install, how to install? >> )) kzBSD Linux 0 03-18-2009 03:57 AM
how to install new java versions to 264 version4.0 alpha rasa_still_here UNIX for Dummies Questions & Answers 0 11-13-2008 04:01 AM
Trying to install Java 5 Kirath AIX 5 09-15-2008 04:57 AM
java install sheild murad.jaber Solaris 0 07-01-2007 06:01 AM
License issue on Java install morgan_g AIX 0 06-22-2007 02:10 PM