You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2020/04/13 13:32:00 UTC

[jira] [Commented] (IOTDB-185) Can't start client when there is space in the path

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

Xiangdong Huang commented on IOTDB-185:
---------------------------------------

Hi,

can this be reporduced? [~SilverNarcissus]

> Can't start client when there is space in the path
> --------------------------------------------------
>
>                 Key: IOTDB-185
>                 URL: https://issues.apache.org/jira/browse/IOTDB-185
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Kaifeng Xue
>            Priority: Major
>              Labels: easy-fix
>         Attachments: image-2019-08-29-19-57-46-957.png
>
>
> I place the client package in the path where there is a space in path, then I realize that I can't start client because of missing main class.
> The reason of this problem is that java complier can't load jar files with space in their path, here is my final command:
> ```
> /usr/lib/jvm/java-8-openjdk-amd64/bin/java -cp "/home/parallels/Desktop/Parallels Shared Folders/Home/Desktop/iotdb/client/target/iotdb-client-0.9.0-SNAPSHOT/lib/*.jar" org.apache.iotdb.client.Client -h 127.0.0.1 -p 6667 -u root -pw root
> ```
> As far as I'm consider, the jar path in double quotation mark should fix the space problem, but it was useless : (, may be some one can fix it. 
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)