Hi euler,

I've done some tests on my end with running DSpace 6.3 on Windows 10 (with
Java 8), and I'm not able to reproduce these errors.  That implies to me
that either there's something different in your installation environment
*or* somehow the [dspace]/bin/dspace.bat script (which is the Windows
'dspace' script) is becoming corrupted or changed during installation.  My
suspicion is that it's your environment -- this doesn't sound like a bug in
the script itself, since it works fine on other Windows machines.

Are you able to run *any* Windows batch (*.bat) scripts on this machine?

Does the error itself not any specific line number in the "dspace.bat"
script that is a problem?

Searching around on Google for these errors, I also came across this:
https://www.digizol.com/2006/12/input-line-is-too-long-windows-command.html

This notes that Windows has limits to the number of characters that are
allowed in a single command.  It notes that sometimes you can get around
these errors by making your paths shorter (e.g. instead of installing
DSpace under C:/some/long/path/to/dspace/ , you could install under
C:/dspace/).  That also may be the issue you are seeing.

Good luck, let us know what you find.

Tim


On Thu, Sep 20, 2018 at 1:06 AM euler <[email protected]> wrote:

> Hi Mark,
>
> I did that and it is still the same message. Out of desperation, I clone a
> new repository in a different directory. After mvn package and ant update,
> I tried to run dspace -h from the [dspace-install]/bin directory. I'm
> really frustrated now because I'm having the same error message despite the
> fact that this is a new and totally different install.
>
>
> On Wednesday, September 19, 2018 at 8:45:25 PM UTC+8, Mark H. Wood wrote:
>>
>> The first thing I would do is mechanically compare the two copies of
>> bin\dspace.bat to see if the failing one is damaged in some way.
>>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to