OK, I am not strong on Mac, but I get by so I appreciate any help here. I was able to install openHAB on my 2009 Snow Leopard 10.6.4 MacMini in the /opt/openhab/ directory and I had a working Demo system that was not linked to Vera yet. I was able to access the UI from another PC on the network, and the android app.
Then a few weeks go by and I have time again to work on getting Vera connected, but by now there are all of these great stickies and I noticed @gduprey’s recommendation for installing Java JDK 1.7. Turns out this Mac came with its own Java 1.6 and isn’t able to install newer versions. That didn’t stop me since there are plenty of links for work-arounds, I hoped the naysayers were wrong since they say it will hose your Java install (fixable). I followed the instructions here:
and made sure to do everything incl reestablishing Alias’ paths using ln -s in terminal. As far as I can tell it installed correctly and everything else is running (even after restarts), including Crashplan.app which someone had mentioned stopped running due to their attempt to install 1.7.
Now OH doesn’t seem to be working…
I used @gduprey’s commands to start openHAB (since I had done a few restarts on the MacMini):
navigated to the /opt/openhab/ directory
chmod a+rx start.sh
./start.sh
(to get the following output)
Launching the openHAB runtime...
osgi> 2015-02-09 20:05:17.974 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.6.1).
2015-02-09 20:05:21.357 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2015-02-09 20:05:21.488 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2015-02-09 20:05:27.158 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2015-02-09 20:05:30.253 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap'
2015-02-09 20:05:30.812 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.script'
2015-02-09 20:05:31.159 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'db4o.persist'
2015-02-09 20:05:31.229 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'exec.persist'
2015-02-09 20:05:31.239 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2015-02-09 20:05:31.274 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2015-02-09 20:05:31.356 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.items'
2015-02-09 20:05:32.694 java[2075:ac03] *** NSInvocation: warning: object 0x1085fb3c0 of class 'ThreadUtilities' does not implement methodSignatureForSelector: -- trouble ahead
2015-02-09 20:05:32.697 java[2075:ac03] *** NSInvocation: warning: object 0x1085fb3c0 of class 'ThreadUtilities' does not implement doesNotRecognizeSelector: -- abort
./start.sh: line 16: 2075 Trace/BPT trap java -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djetty.port=$HTTP_PORT -Djetty.port.ssl=$HTTPS_PORT -Djetty.home=. -Dlogback.configurationFile=configurations/logback.xml -Dfelix.fileinstall.dir=addons -Djava.library.path=lib -Djava.security.auth.login.config=./etc/login.conf -Dorg.quartz.properties=./etc/quartz.properties -Dequinox.ds.block_timeout=240000 -Dequinox.scr.waitTimeOnBlock=60000 -Dfelix.fileinstall.active.level=4 -Djava.awt.headless=true -jar $cp $* -console
edit: now that I see the output again, it seems there are java errors… Thanks again for any help.