JRuby

Dir.chdir, $HOME and $LOGDIR behavior