[wildfly-dev] Running standalone.bat on Windows gives "The syntax of the command is incorrect."
Jess Sightler
jsightle at redhat.com
Mon Nov 2 11:44:05 EST 2015
Hi Markus,
This sounds like a quoting error with your variable.
Quoting in windows batch files should be like this:
set "JAVA_HOME=c:\Path to java\jdk\"
You may be setting it like this:
set JAVA_HOME="c:\Path to java\jdk"
In that case, the quote may become part of the value itself, which will
break with many scripts.
On 11/02/2015 11:31 AM, Markus Eisele wrote:
>
> Yes. Happens the first time I unzip the distribution.
> If I start with defining JAVA_HOME=D:\XX without quotes and start
> once, everything works fine.
>
> Need to dig into this more.
>
> M
>
> On Nov 2, 2015 5:28 PM, "Tomaž Cerar" <tomaz.cerar at gmail.com
> <mailto:tomaz.cerar at gmail.com>> wrote:
>
> Is that without any modifications to both of those .bat files?
> as i cannot reproduce this locally, running windows 10.
>
> Also does standalone.ps1 work for you?
>
> On Mon, Nov 2, 2015 at 9:05 AM, Markus Eisele <myfear at web.de
> <mailto:myfear at web.de>> wrote:
>
> Hi,
>
> was just trying out latest CR4 on Windows 7 and getting the
> following :
>
> D:\wildfly-10.0.0.CR4\bin>standalone.bat
> Calling "D:\wildfly-10.0.0.CR4\bin\standalone.conf.bat"
> The syntax of the command is incorrect.
>
> Any idea what's wrong?
>
> Cheers,
> Markus
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
>
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20151102/fe14d9bf/attachment.html
More information about the wildfly-dev
mailing list