Issue reinstalling the project

114 views
Skip to first unread message

Vaibhav Singhal

unread,
Apr 2, 2021, 11:28:53 AM4/2/21
to Java™ Pathfinder
Respected mentors,
Due to some issues with the windows, I had to reinstall the entire project. But it shows the below problem. 
> Failed to apply plugin [id 'com.palantir.git-version']
   > Cannot find '.git' directory

Git version control system is already installed on my local machine.
Kindly help me with them.
Screenshot (188).png

Vaibhav Singhal

unread,
Apr 2, 2021, 11:32:06 AM4/2/21
to Java™ Pathfinder
Also, what branch should I clone if I want to clone it all again? The current Java version in my local machine is 15.0.1
But, I have downloaded JDK version 1.8 too.
Please help me.

Vaibhav Singhal

unread,
Apr 2, 2021, 1:43:58 PM4/2/21
to Java™ Pathfinder
Hy sir, I tried cloning the master branch and building the project. I am finally successful in doing it.

But now, when I run this command to test JPF, I get an error.
C:\Users\iamvs\Documents\GitHub\jpf-core>java -jar build/RunJPF.jar src/examples/Racer.jpf
Error: Unable to access jarfile build/RunJPF.jar

Please help me with it.


Vaibhav Singhal

unread,
Apr 2, 2021, 2:04:46 PM4/2/21
to Java™ Pathfinder
I just found out that there is no JAR file as specified by the documentation.

Cyrille Artho

unread,
Apr 7, 2021, 3:31:24 AM4/7/21
to Java™ Pathfinder
You usually don't need to specify the location of the JAR file manually.
The wrapper script `bin/jpf` can do this for you.
If you don't have a JAR file, your build may not have executed correctly.
Try running `./gradlew`.
Reply all
Reply to author
Forward
0 new messages