Running unit tests for Apache Mesos, enabling Java (i.e., omitting the --disable-java
flag in configure
) you may run into the annoying “You need to install Java” popup, even though you have Java 8 correctly installed.
The only workaround I’ve found so far (until I locate where in the test scripts we invoke the wrong version of Java – the Makefile
correctly detects both JAVA_HOME
and JAVAC
where they are supposed to be – the issue is most likely in the third-party
libraries imported under libprocess
) is to download and install the ancient Java 6 Apple binary:
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
This seems not to interfere with the more recent Oracle Java 8 install, but I will keep an eye on things and update this post.
Leave a Reply