so I just installed Jruby in a Windows Vista 32 bit box. I also installed the
latest Java SDK ie.7 u 9.
I installed the java sdk first then Jruby.
Jriuby added the Java_Home env var i.e. c:\jruby-1.7.0\jre
This could be an issue with the Installer. Does a JRE exist in that
directory?
thanks
Does the problem persist if you point JAVA_HOME to a good directory
(JRE, say)? If so, there is at least one report of this issue: http://bugs.jruby.org/6988 (–version implies -w, I believe). For that
issue, pointing to JDK should fix the problem.
I don’t have access to a Windows machine, so I haven’t looked into it.
Action item: Windows installer is failing to add a backlash when
setting the Java_Home env var in Windows.
Thinking back this seems to be the same problem I had with my other
issue but instead of pointing to the JRE under Jruby on my OTHER
windows box I pointed Java_Home to the Oracle Java 1.7 u 9 directory.
That worked as well. I’m assuming that Jruby is using the latest stable
JRE ?
Is it possible JAVA_HOME was not yet set (that is, that it was
necessary to log out and back in for it to be accessible in your DOS
prompt)?
Nope, i had made sure of that.
thanks for the feedback.
-charles
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.