You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Ken Hu (Jira)" <ji...@apache.org> on 2025/02/08 00:40:00 UTC

[jira] [Closed] (TINKERPOP-3070) Cannot run console if working directory contains spaces

     [ https://issues.apache.org/jira/browse/TINKERPOP-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Hu closed TINKERPOP-3070.
-----------------------------
    Resolution: Fixed

> Cannot run console if working directory contains spaces
> -------------------------------------------------------
>
>                 Key: TINKERPOP-3070
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3070
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.7.1
>            Reporter: Cole Greer
>            Priority: Critical
>             Fix For: 4.0.0, 3.7.4
>
>
> If the current working directory contains spaces, gremlin.sh does not handle it properly when launching the console, and the JVM will search for an incorrect main class and fail.
> For example if I simply rename the standard console distribution directory to `{{foo bar}}`:
> {code:bash}
> foo bar/ $ bin/gremlin.sh                                                                                                                                                                                                                                            
> Error: Could not find or load main class bar
> Caused by: java.lang.ClassNotFoundException: bar
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)