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...
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...
Look at the environment variable JAVA_PATH:
echo $JAVA_PATH
It is probably set up incorrectly. Check your PATH variable as well.
You can also use the eslelect tool so choose between versions of installed packages
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.