From: Ruby Student Date: 2011-05-13T04:39:58+09:00 Subject: Re: Jruby -v failing with possible Java version issue --bcaec520ea9d992fdf04a3195a75 Content-Type: text/plain; charset=ISO-8859-1 But I have 1.6, I installed it. If I go to the Oracle site and run their applet to verify the java version, I get the following: When I verify Java on the Oracle site, I get the following: Your Java is Working Java update available Your Java configuration is as follows: Vendor: *IBM Corporation* Version: *Java SE 6* Operating System: *Linux 2.6.32-71.24.1.el6.x86_64* Architecture: *amd64* Perhaps, like you said, I have to switch from IBM to Oracle version. I don't want to remove the IBM version since it might be used by some application on the server, but I am wondering if I can have multiple Java versions from different vendors. Thank you On Thu, May 12, 2011 at 2:34 PM, Matthew K. Williams wrote: > 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 > > -- Ruby Student --bcaec520ea9d992fdf04a3195a75--