geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Murdoch (JIRA)" <>
Subject [jira] [Commented] (GEODE-1098) gfsh.bat error with default Java installation
Date Thu, 27 Oct 2016 09:28:58 GMT


Matthew Murdoch commented on GEODE-1098:

In version {{1.0.0-incubating}} the error is now:

{{Error: Could not find or load main class Files\Java\<java_version>\lib\tools.jar}}

A fix that works for me is to put double quotes around {{%DEPENDENCIES%}} on line 85 of {{gfsh.bat}}

> gfsh.bat error with default Java installation
> ---------------------------------------------
>                 Key: GEODE-1098
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Karen Smoler Miller
> The Windows gfsh.bat script issues an error when invoked from the command line, and the
JAVA_HOME variable has a path name component that contains a space. JAVA_HOME is used when
no GF_JAVA variable is defined.
> The default Java installation on Windows places itself into {{C:\Program Files\Java\...}},
therefore there will be a space in the {{Program Files}} portion of the path name.
> The error message looks similar to: 
> {{'"C:Program' is not recognized as an internal or external command, operable program,
or batch file.}}

This message was sent by Atlassian JIRA

View raw message