Running error in windows

When I download and run jruby, I get this.

The system cannot find the path specified.

Turned out that my JAVA_HOME was set to (by default, by sun)

C:>echo %JAVA_HOME%
C:\WINDOWS\system32…\

which jruby didn’t like much. Any thoughts on that?
-=r