I have followed all the steps described on the Getting Started with DB2 Express v9.7 e-book and installed DB2 Express-C on my Mac. The installation succeeded without a problem.
I did setup OS X according to this blog post: http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/
After the installation, I set up the DB2 instance environment as instructed and was able to start DB2 with:
$ db2start
But I was unable to run db2fs. It returns the following error message:
$ db2fs
sh: /Users/ivan/sqllib/java/jdk64/jre/bin/java: No such file or directory DB2JAVIT : RC = 127
What else do I have to setup in order to make it work on my system?
cd ~/sqllib/java/jdk64; sudo ln -s /Library/Java/Home jre