Jruby 1.3.0 windows vista issues: doesn't output helpful error if JAVA_HOME undefined, and JAVA_HOME


#1

Tried jruby 1.3.0 on windows vista this morning and found out that:

if I do:
set JAVA_HOME=
jruby -version

I get:
The system cannot find the path specified.

(it should probably state that JAVA_HOME must be set)

if I do:
JAVA_HOME=“C:\Program Files\Java\jdk1.6.0_13”

I get:
Files\Java\jdk1.6.0_13"" was unexpected at this time.

if I do the following:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_13
jruby -version

I get:
jruby 1.3.0 (ruby 1.8.6p287) (2009-06-03 5dc2e22) (Java HotSpot™
Client VM 1.6.0_13) [x86-java]
(works)

Hope that helps!
Gary


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

Can you toss this into a bug? It’s a good find, and we should fix it. I
know that error has confused users and us many times in the past.

http://jira.codehaus.org/browse/JRUBY

Gary S. Weaver wrote:

I get:

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

Done. http://jira.codehaus.org/browse/JRUBY-3738

Thanks!
Gary

Charles Oliver N. wrote:

jruby -version
Files\Java\jdk1.6.0_13"" was unexpected at this time.
Hope that helps!


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email