Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git-tf unable to find required JAR

Tags:

git

tfs

git-tf

I'm trying to setup git-tf bridge on my windows work station. When I try to execute one of the commands it always shows message:

Unable to find a required JAR: C:\my\path\to\git-tf/lib/com.microsoft.gittf.client.clc-*jar does not exist.

The problem is that slash changes in the middle of the path from \ is changed to /.

Thanks in advance.

like image 948
Boris Pavlovski Avatar asked Nov 25 '15 12:11

Boris Pavlovski


People also ask

Why can’t I open a JAR file in Minecraft?

If you are still unable to access jarfile Minecraft, you can try changing the file association. Here are the steps. Step 1: Navigate to the JAR file’s directory. Right-click it and select Open with and select the Java program.

Why can’t I access my jarfile?

There are several different reasons for the “Java unable to Access Jarfile” issue. Most of them are related to the handling of JAR files on your computer. 1. The latest Java version has not been installed on your computer. 2. The file path set for the Java executable is incorrect and points to the wrong location.

How do I open a JAR file in Java?

Step 1: Navigate to the JAR file’s directory. Right-click it and select Open with and select the Java program. Tip: If you do not get the option right away to open as Java, you can click Choose another app and select Java.


2 Answers

I'm assuming you use the Git Bash.

You'll need to edit your git-tf bash script and change the line

MINGW32_NT*) 

to

MINGW*) 

because for you, uname -s will probably spit out “MINGW64_NT”.

like image 75
primfaktor Avatar answered Sep 24 '22 14:09

primfaktor


Try using "git-tf" instead of "git tf". That got me past the issue on Windows (using PowerShell or just the vanilla command prompt).

like image 42
gmaghera Avatar answered Sep 24 '22 14:09

gmaghera