From: Ruby Student Date: 2011-05-13T02:16:08+09:00 Subject: Jruby -v failing with possible Java version issue --bcaec520ea9d201db004a31758bc Content-Type: text/plain; charset=ISO-8859-1 Hello team, I installed jruby 1.6.1, as fully described below. When I run the *jruby -v* command, it fails. Please see output at the end of this post. Downloaded file: *jruby-bin-1.6.1.tar* 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* * * * * *root@myserver # /opt/jruby* -ls -l -rw-r--r-- 1 root root 1799 Apr 12 12:23 README -rw-r--r-- 1 root root 2572 Apr 12 12:23 LICENSE.RUBY -rw-r--r-- 1 root root 113210 Apr 12 12:23 COPYING drwxr-xr-x 2 root root 4096 Apr 12 12:26 bin drwxr-xr-x 6 root root 4096 May 12 08:20 samples drwxr-xr-x 4 root root 4096 May 12 08:20 lib drwxr-xr-x 5 root root 4096 May 12 08:20 docs drwxr-xr-x 3 root root 4096 May 12 08:20 tool drwxr-xr-x 3 root root 4096 May 12 08:20 share drwxr-xr-x 2 root root 4096 May 12 08:22 jruby-1.6.1 root@myserver # *echo $PATH* /sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin: */opt/jruby/bin* :/usr/local/bin:/usr/local/sbin:/suptools/bin:.:/opt/jruby/bin When I try *jruby -v*, this is what I get: root@myserver # jruby -v JVMJ9VM007E Command-line option unrecognised: -client Could not create the Java virtual machine. Usage: java [-options] class [args...] (to execute a class) or java [-jar] [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options -assert print help on assert options Any help will be appreciated! Thank you -- Ruby Student --bcaec520ea9d201db004a31758bc--