remove pry's and add fix for java (require shellwords). Note: jruby still doesn't work.