How to change the JDK version in the redhat
I have installed redhat 6.6 server version.It default comes with openjdk. I have install java 1.8. So how to update the JAVA_HOME to 1.8 ?
I tried checking .bashrc file in the root folder, there is no JAVA_HOME setting now.
below are the details when i try to use "java -version"
java version "1.6"
OpenJDK Runtime Environment
OpenJDK 64-Bit Server VM (build xxxxxxxxx, mixed mode)
Last edited by asliyanage1984; 05-29-2018 at 10:53 PM.
|