Is it possible to point jruby to a different jvm version? I’m running OS
X with Java SE 6, and would like to have jruby use J2SE 5 instead.
Thanks,
Steven
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Is it possible to point jruby to a different jvm version? I’m running OS
X with Java SE 6, and would like to have jruby use J2SE 5 instead.
Thanks,
Steven
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On Thu, Nov 12, 2009 at 10:21 AM, Steven C. [email protected]
wrote:
Is it possible to point jruby to a different jvm version? I’m running OS X with Java SE 6, and would like to have jruby use J2SE 5 instead.
Look at $JRUBY_HOME/bin/jruby – it’s just a shell script, and near
the beginning you’ll see
Hassan S. ------------------------ [email protected]
twitter: @hassan
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On 12 Nov 2009, at 18:21, Steven C. wrote:
Is it possible to point jruby to a different jvm version? I’m
running OS X with Java SE 6, and would like to have jruby use J2SE 5
instead.Thanks,
Steven
On the command line point $JAVA_HOME at the required jvm:
$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/
Versions/1.5/Home
However on my mac that appears to be a lie! I don’t seem to have
anything pre-6, despite these versions.
Damian
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Fwiw, I had to get java 5 from leopard, because snow leopard doesn’t
include it:
http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
Thanks for your response, I’ll give that a try.
Steven
On Nov 12, 2009, at 12:30 PM, Damian S. wrote:
$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs