-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major
-
Environment:
OS: Windows 8.1
Java version: JDK 8-update 25
Using the "Git Bash" selection in the right-click menu
Whenever i try to compile the files it displays as "build success" but than i get a "not recognized as internal or external command error"
Build succuess:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom —
[INFO] Installing c:\Users\My Username\Desktop\spigot\work\mapped.8eb82bde.jar to C:\Users\My Username\.m2\repository\org\spigotmc\minecraft-server\1.8-SNAPSHOT\minecraft-server-1.8-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.753 s
[INFO] Finished at: 2014-12-01T17:09:56-05:00
[INFO] Final Memory: 6M/123M
[INFO] ------------------------------------------------------------------------
Error:
'cmd' 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:\Users\My Username\Desktop\spigot\apache-maven-3.2.3/bin/mvn.bat install:install-file -Dfile=work\mapped.8eb82bde.jar -Dpackaging=jar -DgroupId=org.spigotmc -DartifactId=minecraft-server -Dversion=1.8-SNAPSHOT
at org.spigotmc.builder.Builder.runProcess(Builder.java:323)
at org.spigotmc.builder.Builder.main(Builder.java:179)
Also attached are the full logs, i ran the command: java -jar BuildTools.jar 1>>SuccessLog.txt 2>>ErrorLog.txt
I ran this command after i set the JAVA_HOME variable to the jdk installation.