Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-479

Linux, Git not installed throws IOException

XMLWordPrintable

    • git-BuildTools-096cd96-101
    • Yes

      Debian 9, if git is not installed the buildtools throw an exception

       

      Exception in thread "main" java.io.IOException: Cannot run program "git" (in directory "."): error=2, No such file or directory
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
      at org.spigotmc.builder.Builder.runProcess0(Builder.java:755)
      at org.spigotmc.builder.Builder.runProcess(Builder.java:699)
      at org.spigotmc.builder.Builder.main(Builder.java:200)
      at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:40)
      Caused by: java.io.IOException: error=2, No such file or directory
      at java.lang.UNIXProcess.forkAndExec(Native Method)
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
      at java.lang.ProcessImpl.start(ProcessImpl.java:134)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

       

       

            Unassigned Unassigned
            xTheDoctah Alessio Caldarigi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: