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-1.8.0.302.b08-0.el7_9.x86_64/jre/bin/bin/java
My JAVA_HOME variables in .bash_profile are set as below
Hi Stephen,
Thanks for replying. Yes, I tried it setting that way as well but had no luck either. Then I removed open jdk8 and installed openjdk-11 and pointed the path same way as you described and elastic search came up. So not sure why it don’t like openjdk8.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.