rjb failure: can't create Java VM

Help!

On my Mac dev machine, everything works, and obviously on my Debian production server something is wrong.

I set JAVA_HOME and LD_LIBRARY_PATH in environment.rb, but it's still blocked.

Anyone has experience with rjb?