I want to use open jdk for my elastic search rather than bundled jdk. I have set up .bash_profile variables as below but Elastic search keeps on failing to start up with below error.PLEASE HELP !!
could not find java in JAVA_HOME at /usr/lib/jvm/java-1.8.0-openjdk-184.108.40.2062.b08-0.el7_9.x86_64/jre/bin/bin/java
My JAVA_HOME variables in .bash_profile are set as below