If you are trying to run CruiseControl on Gentoo Linux, you may find that you get an error similar to the following.
line 109: /bin/java: No such file or directory
There is due to the Java path. You can find it using the following command.
You can then create a symlink to it.
ln -s /usr/bin/java /bin/java
Try running the command again and it should work.