james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Waibel <BWai...@intarsys.de>
Subject Running james 3 on windows [unsigned]
Date Wed, 13 Jul 2016 12:15:36 GMT
Hello together,

I am trying james 3 Beta 5 on windows.

I compiled and created all artifacts, and got the "run.bat" command. But the "run.bat" will
not work.

The run.bat is created with a CLASSPATH=... which has more than 8192 characters (currently
about 10.000).
This are too much characters for Windows cmd.exe (currently running on windows 10), cause
the limit is 8192 characters.
When running "run.bat" you will get a message "command line too long".

This may get better, as soon as the "SNAPSHOT" Tag is removed from the .jar files.
But this will occur again, if there are more other libs and projects.

A solution would be:
Use the feature of java.exe, which is acception a "*" as classpath, since Java6.

So I would recommend to use:

set CLASSPATH="%BASEDIR%"\conf;"%REPO%"\*;

instead, and not to generate the CLASSPATH.

Btw: This works for"*.jar", but not for "*.zip".


What do you think?


Best regards,
Bernd


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message