Mifos Mac OS X Install

This is a page on how to get Mifos Gazelle working on Mac OS X.

OS X 10.6.5 (Snow Leopard)

Snow Leopard actually includes the Java SE6 32 bit, and seems to (kinda) work.

To avoid any confusion, it's important to use the Apple JVM's -d32 start-up flag, e.g. in a export MAVEN_OPTS="-d32 -Xmx512m" in your ~/.bash_profile, as well as manually adding a -d32 to the VM arguments of memory intensive unit or integration tests launched from within the Eclipse IDE.

OS X 10.5.8 (Leopard)

  • Install SoyLatte 32 bit build - OpenJDK 1.6 for Mac. This is necessary because there is no official 32 bit build of Java for Mac OS X, only Apple's 64 bit build. Mifos will not run on a 64 bit Java.
  • Modify the SoyLatte installation as follows: * Remove the file jre/lib/i386/libjpeg.dylib - this file conflicts with a system library
  • Follow the Ubuntu Install instructions
  • If you have a lot of memory, you can use the standard 64 bit Java 1.6 that comes with Mac OS X, but you may have to tell the JVM it can use more memory with -Xmx2048m