You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Matthew Murdoch (JIRA)" <ji...@apache.org> on 2016/10/27 09:28:58 UTC

[jira] [Commented] (GEODE-1098) gfsh.bat error with default Java installation

    [ https://issues.apache.org/jira/browse/GEODE-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611324#comment-15611324 ] 

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: https://issues.apache.org/jira/browse/GEODE-1098
>             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
(v6.3.4#6332)