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

Kai Liu commented on ANY23-371:
-------------------------------

I got the same problem on Windows 10 with the version 2.4 when running 
any23.bat. The cause is the line 75 "set CLASSPATH=...". The CMD only allows 
max. 8192 characters for a command. If the base path is longer than 14 
characters, the expanded command will exceed the limit and we will get the 
error. A workaround is to put any23 to the drive root and give it a short name, 
e.g. "C:\any23".

> Any23 cannot start in CMD in Windows 10
> ---------------------------------------
>
>                 Key: ANY23-371
>                 URL: https://issues.apache.org/jira/browse/ANY23-371
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.2
>         Environment: Windows 10, CMD and PowerShell
>            Reporter: Jacek Grzebyta
>            Priority: Major
>             Fix For: 2.5
>
>
> When I run either {{any23}} or {{any23.bat}} in windows terminal I have error:
> {code}
> The input line is too long.
> The syntax of the command is incorrect.
> {code}



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

Reply via email to