A long running problem with build 3.2.7 for Unifi controllers on Mac is that it seems like it needs Java 6. But the real problem has to do with pointers to locations. This one liner gets it to run properly with hard links with the latest Java 8 from Oracle:

<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar /Applications/UniFi.app/Contents/Resources/lib/ace.jar ui</p>

Although the official site says to run it from the command line:


<span style="font-size: large;"><strong>Mac OS 10.10 (Yosemite)</strong></span> So, first and foremost, in the future we plan to have Java bundled to alleviate Mac OS Java related issues. For 3.2.10, 4.6.3 and subsequent builds you can properly run the controller from command line. It requires that you install JRE as well as its matching JDK. The latest as of writing this update is 8u45. The JRE download is found <a href="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" target="_self" rel="nofollow">HERE</a>, JDK download is found <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" target="_self" rel="nofollow">HERE</a>. Once installed you start the controller via CLI with the following command: <pre>java -jar /Applications/UniFi.app/Contents/Resources/lib/ace<wbr />.jar ui</pre>

I’m Rich & Co.

Welcome to Tongfamily, our cozy corner of the internet dedicated to all things technology and interesting. Here, we invite you to join us on a journey of tips, tricks, and traps. Let’s get geeky!

Let’s connect