CompileJava failed

Started by m4nifest on

Topic category: Help with MCreator software

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
CompileJava failed

I think i tried everything im new to modding and i newly downloaded the app so please help me i keep getting this error everytime

Executing Gradle task: runClient
Build info: MCreator 2025.3.45720, forge-1.20.1, 64-bit, 32479 MB, Windows 11, JVM 21.0.8, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-02-23-00:42:22

Calculating task graph as no cached configuration is available for tasks: runClient
> Task :writeClientLegacyClasspath UP-TO-DATE
> Task :downloadAssets UP-TO-DATE
> Task :createMinecraftArtifacts UP-TO-DATE
> Task :prepareClientRun
> Task :processResources UP-TO-DATE
> Task :compileJava FAILED
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain
Caused by: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Failed to run Gradle Worker Daemon
> Process 'Gradle Worker Daemon 1' finished with non-zero exit value 1
* 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 generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 4s
6 actionable tasks: 2 executed, 4 up-to-date
Configuration cache entry stored.

BUILD FAILED
Task completed in 4 seconds

 

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
CAN SOMEBODY HELP ME  
Mon, 02/23/2026 - 16:42

CAN SOMEBODY HELP ME

 

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Already did neoforge works…
Mon, 02/23/2026 - 22:23

Already did neoforge works perfectly but forge isnt

 

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ik I'm using the plugin…
Tue, 02/24/2026 - 21:10

Ik I'm using the plugin thats what it says with the plugin

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
up in need of help   
Sat, 02/28/2026 - 23:57

up in need of help 

 

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task:…
Sun, 03/08/2026 - 08:05
Executing Gradle task: runClient 
Build info: MCreator 2025.3.45720, forge-1.20.1, 64-bit, 32479 MB, Windows 11, JVM 25.0.2, JAVA_HOME: C:\Program Files\Java\jdk-25.0.2, started on: 2026-03-08-11:03:48 
 
Calculating task graph as configuration cache cannot be reused because JVM has changed. 
> Task :writeClientLegacyClasspath UP-TO-DATE 
> Task :processResources UP-TO-DATE 
> Task :downloadAssets 
Loaded 134 artifacts from C:\MCreatorWorkspaces\ass\build\tmp\downloadAssets\nfrt_artifact_manifest.properties 
  WARNING: de.oceanlabs.mcp:mcp_config:1.20.1-20230612.114412@zip is not present in the artifact manifest 
Downloading asset index 5 
Using Minecraft asset root: C:\Users\G.rkem\.mcreator\gradle\caches\neoformruntime\assets 
  DL    https://piston-meta.mojang.com/v1/packages/d66e095b7f27350d2c2e246a0fb1f6d372d8a5e7/5.json 
> Task :createMinecraftArtifacts 
Loaded 134 artifacts from C:\MCreatorWorkspaces\ass\build\tmp\createMinecraftArtifacts\nfrt_artifact_manifest.properties 
  WARNING: de.oceanlabs.mcp:mcp_config:1.20.1-20230612.114412@zip is not present in the artifact manifest 
DONE  Completed downloadJson in 0.04s 
DONE  Completed downloadClientMappings in 0.03s 
DONE  Completed downloadServer in 0.03s 
DONE  Completed downloadClient in 0.02s 
REUSE Used cache of mergeMappings in 0.00s 
REUSE Used cache of createMappings in 0.00s 
REUSE Used cache of stripClient in 0.00s 
REUSE Used cache of extractServer in 0.00s 
REUSE Used cache of stripServer in 0.00s 
REUSE Used cache of merge in 0.00s 
REUSE Used cache of rename in 0.00s 
REUSE Used cache of stripSideAnnotations in 0.00s 
REUSE Used cache of decompile in 0.00s 
REUSE Used cache of inject in 0.00s 
REUSE Used cache of patch in 0.00s 
REUSE Used cache of applyNeoforgePatches in 0.00s 
REUSE Used cache of transformSources in 0.00s 
REUSE Used cache of remapSrgSourcesToOfficial in 0.00s 
REUSE Used cache of recompile in 0.00s 
REUSE Used cache of sourcesAndCompiledWithNeoForge in 0.00s 
Total runtime: 1.52s 
> Task :prepareClientRun 
> Task :compileJava FAILED 
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain 
Caused by: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Failed to run Gradle Worker Daemon 
   > Process 'Gradle Worker Daemon 1' finished with non-zero exit value 1 
* 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 generate a Build Scan (powered by Develocity). 
> Get more help at https://help.gradle.org. 
BUILD FAILED in 38s 
6 actionable tasks: 4 executed, 2 up-to-date 
Configuration cache entry stored. 
 
BUILD FAILED 
Task completed in 38 seconds

I still keep getting this
Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
btw im using DNS to access…
Sun, 03/08/2026 - 08:13

btw im using DNS to access the apps that my country banned like roblox and discord idk if you need this information but yeah

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then what do i need to do
Sat, 03/14/2026 - 07:37

Then what do i need to do

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is the last error ive…
Sun, 03/15/2026 - 11:19


This is the last error ive gotten 

FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Could not resolve all files for configuration ':compileClasspath'. 
   > Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1. 
     Searched in the following locations: 
       - file:/C:/Users/G%C3%B6rkem/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom 
       - file:/C:/Users/G%C3%B6rkem/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.jar 
     Required by: 
         project : 
* 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 24s 
1 actionable task: 1 executed 
 
BUILD FAILED 
Task completed in 4 minutes and 13 seconds 
 

https://prnt.sc/dB5aRCWuZtqp