I can not understand the problem with the JavaGit library when executing commands. With what it can be connected? How to solve?

Exception in thread "main" java.io.IOException: 020100: Unable to start sub-process. atedu.nyu.cs.javagit.client.cli.ProcessUtilities.startProcess (ProcessUtilities.java:50) at edu.nyu.cs.javagit.client.cli.ProcessUtilities.runCommand (ProcessUtilities.java:141) at edu.nyu.cs.javagit.client.cli.CliGitStatus.status(CliGitStatus.java:82) at edu.nyu.cs.javagit.client.cli.CliGitStatus.status(CliGitStatus.java:121) at edu.nyu.cs.javagit.api.com7) at com.library.test.SideAppStartmands.GitStatus.status (GitStatus.java:14.main(SideAppStart.java:36) 

    2 answers 2

    Liba cannot start git. Check whether the %PATH% environment variable has a path to git.

      Most likely the git binary does not start - look in this direction.

      According to the docks, Windows requires msysgit or git under cygwin, which is frankly quite exotic :)

      • I did not register git path in system variables: -O - cadmy
      • I would point out that JavaGit is in deep beta - version 0.1.0 - annoying - Barmaley
      • And which api is better to use? - cadmy