Relative Content

Tag Archive for javapowershellgithubgradlejar

Building a jar: Could not resolve all files for configuration :compileClasspath

I’m completely new to github and coding, and I’m trying to build a .jar from the 1.18.2 branch of https://github.com/AechtRob/FossilsArcheologyRevival/tree/1.18.2. I’ve run into several problems along the way- firstly I had to install Java 8 instead of 11, then I had to configure the environment variables correctly, and then I had to install 64-bit Java. But now, I still have an issue. After I run “./gradlew.bat build”, it runs for about 40 seconds, then fails with the error “Could not resolve all files for configuration :compileClasspath”.

Problems building a .jar from a github repo?

I am completely new to github and coding, and I’m trying to build a .jar out of the 1.18.2 branch of https://github.com/Ethonodon/FossilsArcheologyRevival. I have googled like crazy to search for ways to build a jar, and the few methods I’ve been able to understand have not worked. When I try and build it with commandprompt, it gives me an “unable to get mutable windows environment variable” error. When I try and build it with Eclipse IDE, it won’t recognize the files as a “project” despite them being imported and functioning within the application. Supposedly I can also build it directly in github, but I have no idea where I’d do that. I’ve tried both Java 8 and Java 17 and I run into the same issues with both versions installed. I’m confused- could there maybe be some error on my computer’s end, am I doing something wrong, or is there something wrong with the repository itself? Any help would be appreciated. Thanks!