Grails

Installation on XP where CLASSPATH environment variable contains quotes

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.0.3
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP

Description

After installing java, grails and groovy on my Windows XP laptop, grails would not work, although the same setup on my desktop workled fine.

"grails help" would report a "C:\grails does not appear to be part of a Grails application" problem.

Investigation by putting echos to report the content of variables in the startGrails.bat file revealed that the CLASSPATH environment variable on my PC contained double quotes, i.e.

"C:\Program Files\Java\jre1.5.0_09\QTJava.zip"

Removing the double quotes from the environment variable fixed the problem. It is suggested that the startGrails.bat file is enhanced so that double quotes are stripped when putting together the %CP% variable, or that the java scripts that are called handle double quotes within the CP string.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Last Reviewed: