Not able to create Server

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Major
    • Environment:

      OS Name Microsoft Windows 10 HomeOS Name Microsoft Windows 10 Home

      Version 10.0.17134 Build 17134Version 10.0.17134 Build 17134

      Java 8

      git version 2.21.0.windows.1

    • #101
    • Yes

      I wanted to create a minecraft server that can use plugins, so I try to download bukkit, and use a .bat file contain the code:

      @echo off
      set startdir=%~dp0
      set bashdir="C:\Program Files\Git\bin\bash.exe"
      %bashdir% --login -i -c "java -jar ""%startdir%\BuildTools.jar"""
      pause

      But it didn't work and showed this:

      Loading BuildTools version: git-BuildTools-096cd96-101 (#101)
      Java Version: Java 8
      git version 2.21.0.windows.1
      BuildTools
      [email protected]
      Starting clone of https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to Bukkit
      Exception in thread "main" org.eclipse.jgit.api.errors.JGitInternalException: Creating directories for C:\Users\dinht\OneDrive\Desktop\IDK\Bukkit\.git failed
      at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:118)
      at org.eclipse.jgit.api.CloneCommand.init(CloneCommand.java:171)
      at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
      at org.spigotmc.builder.Builder.clone(Builder.java:854)
      at org.spigotmc.builder.Builder.main(Builder.java:225)
      at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:40)
      Caused by: java.io.IOException: Creating directories for C:\Users\dinht\OneDrive\Desktop\IDK\Bukkit\.git failed
      at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:370)
      at org.eclipse.jgit.internal.storage.file.FileRepository.create(FileRepository.java:288)
      at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:115)
      ... 5 more
      Press any key to continue . . .

      Can you please help me create this Minecraft server for me and my friends to play.

        1. CODE.bat
          0.1 kB
        2. fail.PNG
          fail.PNG
          33 kB

            Assignee:
            Unassigned
            Reporter:
            Tri Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: