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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8838005371ab9c0b1d40f0504bf8832a?d=identicon&s=25 Gary S. Weaver (Guest)
on 2009-06-06 13:46
(Received via mailing list)
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)

Hope that helps!
Gary




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

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-06-07 20:14
(Received via mailing list)
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
8838005371ab9c0b1d40f0504bf8832a?d=identicon&s=25 Gary S. Weaver (Guest)
on 2009-06-07 20:23
(Received via mailing list)
Done. http://jira.codehaus.org/browse/JRUBY-3738

Thanks!
Gary

Charles Oliver Nutter 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
This topic is locked and can not be replied to.