Steps to setup JRuby on windows
- Download the latest stable version of JDK from: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- I have installed Java SE 7u3.
- 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.
- 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.
No comments:
Post a Comment