From: "Matthew K. Williams" Date: 2011-05-13T03:34:05+09:00 Subject: Re: Jruby -v failing with possible Java version issue On Fri, 13 May 2011, Ruby Student wrote: > Hi, > > This is the output of the commands suggested: > > root@myserver # which java > /usr/bin/java > > root@myserver # java -version > java version "1.4.2" > Java(TM) 2 Runtime Environment, Standard Edition (build 2.2) > IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 > j9xa64142-20061124 (JIT enabled) > J9VM - 20061121_1035_LHdSMr > JIT - r7_level20061020_1803) 1.4.2 won't work. You need java 1.6. FWiW, Java 1.4 was sunsetted a number of years ago. 1.5 was sunset in 2009, I believe. And IBM Java won't work. Matt