Error in a bat file

I’m trying to install gradlew using a .bat file with the following code: gradlew genEclipseRuns --refresh-dependencies&&gradlew eclipse. After less then a minute i throws me that error:

Could not resolve all files for configuration ‘:_compileJava_1’.
Could not find patchy-1.1.jar (com.mojang:patchy:1.1).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/patchy/1.1/patchy-1.1.jar
Could not find oshi-core-1.1.jar (oshi-project:oshi-core:1.1).
Searched in the following locations:
https://files.minecraftforge.net/maven/oshi-project/oshi-core/1.1/oshi-core-1.1.jar
Could not find javabridge-1.0.22.jar (com.mojang:javabridge:1.0.22).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/javabridge/1.0.22/javabridge-1.0.22.jar
Could not find brigadier-1.0.17.jar (com.mojang:brigadier:1.0.17).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/brigadier/1.0.17/brigadier-1.0.17.jar
Could not find datafixerupper-4.0.26.jar (com.mojang:datafixerupper:4.0.26).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/datafixerupper/4.0.26/datafixerupper-4.0.26.jar
Could not find authlib-2.1.28.jar (com.mojang:authlib:2.1.28).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/authlib/2.1.28/authlib-2.1.28.jar
Could not find text2speech-1.11.3.jar (com.mojang:text2speech:1.11.3).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/text2speech/1.11.3/text2speech-1.11.3.jar
Could not find text2speech-1.11.3-natives-windows.jar (com.mojang:text2speech:1.11.3).
Searched in the following locations:
https://files.minecraftforge.net/maven/com/mojang/text2speech/1.11.3/text2speech-1.11.3-natives-windows.jar

1 Like

I don’t know why but running that a lot of times it goes ahed but it gave me another error:

  • What went wrong:
    Execution failed for task ‘:downloadAssets’.

Failed to get asset: icons/icon_32x32.png
Failed to get asset: minecraft/icons/minecraft.icns
Failed to get asset: minecraft/sounds/random/successful_hit.ogg
Some assets failed to download or validate, try running the task again.

1 Like

I’ve run it another time and now it gaves me no errors :thinking: :thinking: :thinking:

@TheFallen00 I was in trouble of this error in bat files. I tried much but not progress occur. Then i saw your post you also mention about this error it clears my mind. Now i want to thank you for this :slightly_smiling_face: post.