I did not configure something like a ScriptManager and so on. I only put the jruby-complete-1.5.1.jar into the classpath. This worked with the bsh-engine-1.0.1.jar. So I thought it should work with jruby too. Where do i have to configure these things you mentioned?