openHAB 3 Startup Issue on Mac OS X

Hello,

i wanted to test the new openHAB on a Mac Book Air (OS 10.15.4)

Actually there are some errors.
Java 11 is already installed an the path is set with the right environment.

Does anyone know why?

I didn´t change anything in the startup script. The path to the files is relative.

Check whether you have somehow messed up your $PATH environment variable:

dirname (that´s what the error message says) cannot be found by the start.sh script.

$PATH (always) includes /usr/bin, that´s where „dirname“ resides.

if a „which dirname“ does not show „/usr/bin/dirname“ there is most likely something wrong with your $PATH variable.
Either fix it in your shell‘s „rc“ file, or spell out the full path name of dirname in their start.sh script.

Hope this helps
Clemens

1 Like

With Oracle Java 11 it works now on my System. :wink:
I recommend using Oracle Java on Mac OS. Java SE Development Kit 11- - Downloads

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.