Elastic Search homestead and Forge

If you have tried installing elastic search http://www.elasticsearch.org/ on forge or homestead you probably have run into this error.

Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME

At this point you may want to try installng open jdk. Well don’t. The errors don’t go away.

Instead install oracle java.

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get install oracle-java7-installer


I am not sure why open jdk doesn’t work.  If you do know or have made it work please post a comment.



Published by


Software Project Manager