Find JAVA_HOME in Centos

Execute the following commands to get the JAVA_HOME:

  1. update-alternatives –display java
  2. ll /etc/alternatives/java

 

Advertisements