jruby 1.3.0 windows vista issues: doesn't output helpful error if JAVA_HOME 
undefined, and JAVA_HOME path defined in quotes not supported
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-3738
                 URL: http://jira.codehaus.org/browse/JRUBY-3738
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.3
         Environment: Windows Vista, JRuby 1.3.0, Java 1.6
            Reporter: Gary S. Weaver
            Priority: Minor


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(TM) Client VM 
1.6.0_13) [x86-java]
(works) 

Note that one user said on list it is normal/preferred to not supports quotes 
around environment variable value in vista, so whatever is best for that one.

Charlie said "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."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to