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:

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.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s