[rjb-users] can't create Java VM

rjb-users at rubyforge.org rjb-users at rubyforge.org
Sat Nov 10 07:27:11 EST 2007


I have the following code:

require 'rjb'

When I run it under Windows, it works fine. But when I run it on my
production Linux box, a get the error:

can't create Java VM

I did some searching on Google and it turns out, I have to set
JAVA_HOME and LD_LIBRARY_PATH. I have set both variables in Linux and
in my environment.rb file. But it still doesn't work. I'm using
Litespeed as my webserver (so no Mongrel). Hope somebody can tell me
what is wrong. Thanks.

Kind regards,


More information about the rjb-users mailing list