[jruby-user] Using JRuby in eclipse
Noam Weisberg <[email protected]> Tue, 23 Dec 2014 08:41:23 +0100
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
I'm a Java programmer trying for the first time to use JRuby with
eclipse.
I downloaded the .exe file of the latest JRuby, and Java DLTK - Ruby
Development Tools. I installed both of them.
Than I set Ruby's interpreter in eclipse to jruby.bat, and the engine
debugger to be Ruby Built-In Debugger.
I wrote a simple Ruby code which compiled neatly and afterwards added:
require 'java'
I get an error message:
C:/Ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require': cannot load such file -- java (LoadError)
from
C:/Ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from C:/Users/eternalStudent/workspace/LetsTryRuby/HelloWorld.rb:1:in
`<main>'
--
Posted via http://www.ruby-forum.com/.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email