Installing OpenMQ on Mac OS X

Update, October 2, 2009: For OS X 10.6, please see the instructions here: http://www.wdream.com/2009/09/install-open-mq-4-4-on-mac-os-x-10-6-snow-leopard/. Thanks to Espen Schulstad for the tip.

I just installed Open MQ on Mac OS X.  The process required a few modifications to the out-of-the-box installation mechanism.  Starting with the generic OpenMQ 4.3 Unix binary download from java.net, I had to change two things:

1. Force the use of Java 1.5 rather than 1.6 for the installer GUI by setting JAVA_HOME to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home

Update, August 9, 2009: As an alternative, you can specify the Java version via a command-line argument to the OpenMQ install script: ./installer -j /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home.  Thanks to reader Ryan Nitz for the tip.

Note that the installer GUI will let you choose the Java version for OpenMQ to use at runtime, and you can specify 1.6 at that point if you want.

2. Change all references to /bin/uname in the install scripts to /usr/bin/uname.  In the 4.3 release, the files that must be changed are ./installer and ./mq/lib/install/init-config.

I suppose I could have symlinked /bin/uname to /usr/bin/uname instead, but I took the less drastic path of changing OpenMQ’s install scripts.

You must be logged in to post a comment. Don't worry; you needn't register for a new account here. You can log in securely via your Google/Gmail, Yahoo, Facebook, or OpenID account.