I need Oracle JDK and JRE so i downloaded tar.gz from Oracle downloads page
Extracted using tar zxvf jdk-9.0.4_linux-x64_bin.tar.gz
as described here
https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-linux-platforms.htm#JSJIG-GUID-ADC9C14A-5F51-4C32-802C-9639A947317F
But when i type java -version i am getting this error:
Why its not working, what are the actual steps to install Oracle jdk9 properly as above steps are not working
I also want jdk and jre(Oracle only) both installed via tar and accessed with java -version and JAVA_HOME set.
- As you can see I
cd
intojdk -> bin
and typedjava -version
but its not working, I wonder why is that? this is where actual binaries lives.
No comments:
Post a Comment