I need to install java gem for my jruby package. The below is the error it gives me.
C:\Users\abcd>jruby -v
jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13 +jit [Windows 7-amd64]
C:\Users\abcd>jgem install java
io/console not supported; tty will not be manipulated ERROR: Error installing java: java requires Ruby version >= 2.1.0.
From irb console when I say require 'java' this gives me 'false' always