Error "You must run this jar through bash (msysgit)" on system with MINGW Bash installed

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • Environment:

      Windows 10 Insider Preview Build 14316
      Java version: 1.8.0_77 (Oracle)
      BuildTools build #52
      Git Bash (MINGW) version 4.3.42(5)-release

      So basically, I've tried running BuildTools in the Git Bash and got the error "You must run this jar through bash (msysgit)"

      After rebuilding it myself, I've managed to get the following stacktrace:

      java.lang.RuntimeException: Error running command, return status !=0: [bash, -c,
              at org.spigotmc.builder.Builder.runProcess(Builder.java:549)
              at org.spigotmc.builder.Builder.main(Builder.java:149)
      

      The temporary solution for me was to remove the try block that checks whether bash is present.

            Assignee:
            Unassigned
            Reporter:
            Jakub Sycha
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: