Sunday, April 8, 2012

Java and JRuby Setup

Steps to setup JRuby on windows
Picture
  • Set the system environment variables like classpath, path and JAVA_HOME. I have this on my Windows 7: 
  • path=C:\Program Files\Java\jdk1.7.0_03\bin; 
  • classpath=%classpath%;.;
  • JAVA_HOME=C:\Program Files\Java\jdk1.7.0_03; 
  • Download the JRuby from this link  http://jruby.org/download as a .zip file for windows.
Picture
  • Extract the file to C:\ directory.
  • Set the system environment variables like path and JRUBY_HOME
  • path=C:\jruby-1.6.7\bin
  • JRUBY_HOME= C:\jruby-1.6.7
  • To test whether JRuby is properly installed or not. Type  "jruby -v" on the command prompt.
Picture

No comments:

Post a Comment