Executing Gradle task: runClient

Started by echio12 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task: runClient

Please help :(

 

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type TaskOutputFilesRepository using TaskExecutionServices.createTaskOutputFilesRepository().
> java.io.FileNotFoundException: C:\Users\Kewin2103\MCreatorWorkspaces\mapkaa\.gradle\buildOutputCleanup\cache.properties (Nie mo�na odnale�� okre�lonego pliku)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
BUILD FAILED
Task completed in 796 milliseconds

 

How can I fix it?

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task:…
Fri, 04/24/2020 - 23:02

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type TaskOutputFilesRepository using TaskExecutionServices.createTaskOutputFilesRepository().
> Cannot list files in C:\Users\Kewin2103\MCreatorWorkspaces\mapkaa\.gradle\buildOutputCleanup
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
BUILD FAILED
Task completed in 2874 milliseconds
 

:/

Try running as admin or…
Sat, 04/25/2020 - 07:25

Try running as admin or disabling antivirus, something is preventing MCreator from properly accessing files it seems.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As Admin I have something…
Sat, 04/25/2020 - 20:10

As Admin I have something like that:

 

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_251 contains a valid JDK installation.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 49s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 54514 milliseconds
 

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know much about…
Sat, 04/25/2020 - 23:25
I don't know much about computers. How can I do this?
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I only can set java.exe but…
Sun, 04/26/2020 - 22:48

I only can set java.exe but I have that all the time. :/

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok I get it!. Thank you so…
Mon, 04/27/2020 - 09:51

Ok I get it!. Thank you so much! :D

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ugh. I have another problem …
Mon, 04/27/2020 - 09:59

Ugh. I have another problem ;(. When I want to start new world for test my mods I have all the time an error

"A crash in JVM native code was detected." Can you help me again? ;)

 

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works! Thank you Klemen! …
Mon, 04/27/2020 - 16:32

It works! Thank you Klemen! :D