Change By: Spyros Kapnissis (20/Aug/14 8:41 AM)
Description: I get the following error when trying to run the sbt plugin through a windows path that contains spaces. 

{quote}
[workspace] $ cmd.exe /C "C:\Program Files\Java\jdk1.7.0_51\bin\java" -Xms1024M -Xmx1024M -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar "C:\Program Files (x86)\sbt\bin\sbt-launch.jar" runMain 

'C:\Program' is not recognized as an internal or external command, operable program or batch file.
Build step 'Build using sbt' changed build result to FAILURE
{quote}

I think the correct syntax is to place the whole command in extra quotes  in immediately after cmd /c and at the end.


So this works for me when I run it through the command line:

cmd.exe /C " "C:\Program Files\Java\jdk1.7.0_51\bin\java" -Xms1024M -Xmx1024M -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar "C:\Program Files (x86)\sbt\bin\sbt-launch.jar" runMain "
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to