Annoying Java Popup when Testing Apache Mesos

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:

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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: