Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4395
| From | "Matthew K. Williams" <matt@harpstar.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Jruby -v failing with possible Java version issue |
| Date | 2011-05-12 12:26 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <Pine.LNX.4.62.1105121349470.31025@codex.lorelied.org> (permalink) |
| References | <BANLkTinE=E=eZWmnydrxRPuxnChN2e8ijg@mail.gmail.com> |
On Fri, 13 May 2011, Ruby Student wrote: > 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* <http://java.com/> > Version: *Java SE 6* > Operating System: *Linux 2.6.32-71.24.1.el6.x86_64* > Architecture: *amd64* I'm not sure if the IBM Java supports all the flags which Sun/Oracle java supports. > 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 > Your path looks really weird here. Also, I think that jruby requires the jdk, not the jre. > 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. > try a which java and a java -version But I do believe there's an issue with IBM's java version. Matt
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Jruby -v failing with possible Java version issue Ruby Student <ruby.student@gmail.com> - 2011-05-12 12:16 -0500
Re: Jruby -v failing with possible Java version issue Matt Lawrence <matt@technoronin.com> - 2011-05-12 12:20 -0500
Re: Jruby -v failing with possible Java version issue "Matthew K. Williams" <matt@harpstar.com> - 2011-05-12 12:26 -0500
Re: Jruby -v failing with possible Java version issue Ruby Student <ruby.student@gmail.com> - 2011-05-12 13:17 -0500
Re: Jruby -v failing with possible Java version issue "Matthew K. Williams" <matt@harpstar.com> - 2011-05-12 13:34 -0500
Re: Jruby -v failing with possible Java version issue Ruby Student <ruby.student@gmail.com> - 2011-05-12 14:39 -0500
Re: Jruby -v failing with possible Java version issue Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 14:47 -0500
Re: Jruby -v failing with possible Java version issue "Matthew K. Williams" <matt@harpstar.com> - 2011-05-12 15:15 -0500
Re: Jruby -v failing with possible Java version issue Ruby Student <ruby.student@gmail.com> - 2011-05-13 12:51 -0500
Re: Jruby -v failing with possible Java version issue Charles Oliver Nutter <headius@headius.com> - 2011-05-14 18:11 -0500
Re: Jruby -v failing with possible Java version issue Ruby Student <ruby.student@gmail.com> - 2011-05-15 10:10 -0500
csiph-web