JRuby

jrubyvars.bat causes strange error when JAVA_HOME not set

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1
  • Fix Version/s: JRuby 1.1
  • Component/s: Miscellaneous
  • Labels:
    None
  • Environment:
    Windows XP
  • Number of attachments :
    0

Description

If I run the jruby script and JAVA_HOME is not set, I get this:

You must set JAVA_HOME to point at your Java Development Kit installation
The system cannot find the batch label specified - cleanup
'""' is not recognized as an internal or external command,
operable program or batch file.

This is likely just a syntax error with the jrubyvars.bat file.

Activity

Hide
Vladimir Sizikov added a comment -

Fixed in rev. 6326 on trunk.

Now, when JAVA_HOME is not set, user will get the following one-line:
"You must set JAVA_HOME to point at your JRE/JDK installation"

Show
Vladimir Sizikov added a comment - Fixed in rev. 6326 on trunk. Now, when JAVA_HOME is not set, user will get the following one-line: "You must set JAVA_HOME to point at your JRE/JDK installation"
Hide
Charles Oliver Nutter added a comment -

Marking bugs with invalid "fixed for release" as fixed in 1.1.

Show
Charles Oliver Nutter added a comment - Marking bugs with invalid "fixed for release" as fixed in 1.1.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: