Topic category: Troubleshooting, bugs, and solutions
Hello! So i used 1.7.6 for a while but i was getting this error-
Now i updated to 1.7.7 and i get error which says the same thing in first error and after i click ok, it shows me this error-
[spoiler]
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. Visas ties�bas patur‰tas.
C:\Pylo\MCreator177>cd forge
C:\Pylo\MCreator177\forge>SET "JAVA_HOME=C:\Pylo\MCreator177\jdk64\"
C:\Pylo\MCreator177\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator177\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator177\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-315a0db
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:cleanCache FAILED
BUILD FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cleanCache'.
> Unable to delete file: C:\Users\DageLV\.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.1.2555\snapshot\20171003\forge-1.12.2-14.23.1.2555-srgBin.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 1 mins 25.82 secs
C:\Pylo\MCreator177\forge>
Task completed with return code 0 in 92068 milliseconds
[/spoiler]
https://image.prntscr.com/image/2vbouIJRTj6oKwqpYN3pHA.png
Please open an issue in the issue tracker before posting in the forums next time.
To fix this, simply delete the file that the program cannot delete itself. In your case it's located here:
C:\Users\DageLV\.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.1.2555\snapshot\20171003\forge-1.12.2-14.23.1.2555-srgBin.jar