#Build Tools failing to run

1 messages · Page 1 of 1 (latest)

shadow thicket
#

Wanted to try my hand at setting up a Spigot server. So, I downloaded the BuildTools program and attempted to run it.

I have jdk 17 installed
When running the program with default options, I get:

[--nogui]
Loading BuildTools version: git-BuildTools-a50d932-181 (#181)
Java Version: Java 17
Current Path: C:\Game Servers\Minecraft\O&O mcMMO Plugin Server
*** Could not find PortableGit installation, downloading. ***
Starting download of https://github.com/git-for-windows/git/releases/download/v2.30.0.windows.1/PortableGit-2.30.0-64-bit.7z.exe
Downloaded file: PortableGit-2.30.0-64-bit\PortableGit-2.30.0-64-bit.7z.exe with hash: 6497e30fc6141e3c27af6cc3a081861043a7666dd54f395d47184e8eb75f5d61
Extracting downloaded git install
'C:\Game' is not recognized as an internal or external command,
operable program or batch file.
'O' is not recognized as an internal or external command,
operable program or batch file.
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [C:\Windows\system32\cmd.exe, /D, /C, C:\Game Servers\Minecraft\O&O mcMMO Plugin Server\PortableGit-2.30.0-64-bit\PortableGit-2.30.0-64-bit.7z.exe, -y, -gm2, -nr]
    at org.spigotmc.builder.Builder.runProcess0(Builder.java:1042)
    at org.spigotmc.builder.Builder.runProcess(Builder.java:967)
    at org.spigotmc.builder.Builder.startBuilder(Builder.java:212)
    at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:60)
#

I've tried running it as administrator

proud elk
#

Pretty sure having special characters in your directory name is a no no

shadow thicket
#

I've tried running the command directly and putting quotes around the directory because of the space

proud elk
#

@short jungle

shadow thicket
proud elk
#

remove the & in your directory

#

that's a special character

shadow thicket
#

Alright

#

That did it. Was so focused on the space that I forgot the ampersand counted