Category: Mac OS

ApacheDirectoryStudio and macOS (ARM)

I have been using ApacheDirectoryStudio (ADS) for years as the best tool to manage LDAP information directly. It is a fantastically powerful, yet still easy to use tool. It is written in Java in the Eclipse environment. Ever since I got my M1 macBookPro I have had fits getting ADS to work with each macOS version. The online resources I have found (Stack Exchange and the ADS bug reports) all talk around the issue(s). I am documenting what I have found here to make it easier for me, and maybe others, to get this working without having to spend hours on it.

From what I have seen, there are two related issues, the version of Java, and whether the JVM is built for ARM (aarch64) or X64. In my recent go round on macOS Sonoma (14) I found that I needed to install Java 11 for X64, ADS for x64 (the ARM package of ADS is not available yet), and configured the ADS application to use the Java I installed. If I used the ARM version of Java 11 it failed, if I used the X64 version of Java 16 it failed. All with the same cryptic error about not being able to find the JNI_CreateJavaVM symbol.

Here is the link to the bug at ADS: (there are instructions for how to set the Java version embedded in that ticket)

Here is where I got my Java environments:

Useful Tidbits

I am always in need of a certain command or utility and end up searching the Internet for a solution. I’ve gotten tired of it and am starting to collect useful commands and utilities here so that I can easily find them. Of course that means anyone else can find them as well.

macOS Wireless Network Roaming 

macOS wireless roaming for enterprise customers

Mac OS Show All Files (including dot files) in Finder

defaults write AppleShowAllFiles YES
Tested on version: 10.12.5 Sierra
I found this at Ian’s Blog.

FreeBSD set system Timezone

There are a number of write ups on the Internet about making links to various system timezone control files, and while I like knowing what is going on under the covers, there is a much simpler way. The utility that is used at system installation time to set the timezone can be run at any time to set the system timezone, tzsetup.

2011 MacBook Pro Graphics Failure

My 2011 MacBook Pro has the dreaded discrete graphics failure. The best description of the failure (and the fix) is here. I now have two bootable partitions on that machine, one has the kernel extensions for the discrete graphics removed and I use it only to fix the NVRAM and main partition after doing an OS update. It is running High Sierra (10.13) latest and runs great except for the graphics, but I don’t use it for heavy graphics work anyway.  

Mac Recovery

How to create a bootable installer for macOS

How to reset SMC (System Management Controller

  • Laptop with non-removeable battery and without T2 chip: Left side Shift-Control-Option then press Power and hold for 10 seconds.

How to reset PRAM / NVRAM

  • Hold down Option-Command-P-R while turning on.

How to boot from USB drive

  • Apple Silicon Mac: Hold the power button while turning on to get the startup disk chooser.
  • Intel Mac: Hold down Option while turning on to get the startup disk chooser.

Network Stuff

A collection of Ubiquiti WAP links follows. I am a big fan of the Ubiquiti Wireless Access Points (WAP) and supporting Enterprise network systems.

Ubiquiti High Density WLAN Scenario Guide

Ubiquiti New BaseStationXG at a Concert Venue