Require 'java'

I noticed that one can do either
include Java

require ‘java’

is one preferable to the other?

Also is there a way on the command line, when you start jruby, to
specify a classpath?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs