Jump to content

I can't run "forge:forge_client"


Crafity33

Recommended Posts

Version 1.12.2

IDE: Intellij

 

Hello, I have followed the forge doc to contribute to forge, but nothing works...
I can follow the doc 1.12.x or 1.19.x, but the doc 1.12.x doesn't work anymore with the git version 1.12.x, that's why I followed the doc 1.19.x which works a little bit better.
But here I am, trying to compile forge following the doc: gradle task | forge > Task > fg_runs > forge_client,
I have this error >

Executing 'forge_client'...

> Task :forge:compileJava UP-TO-DATE
> Task :forge:processResources UP-TO-DATE
> Task :forge:classes UP-TO-DATE
> Task :mcp:downloadConfig UP-TO-DATE
> Task :clean:extractSrg UP-TO-DATE
> Task :forge:downloadMappings UP-TO-DATE
> Task :forge:createMcp2Srg UP-TO-DATE
> Task :forge:createSrg2Mcp UP-TO-DATE
> Task :forge:downloadMCMeta UP-TO-DATE
> Task :forge:downloadAssets
> Task :forge:extractNatives UP-TO-DATE
> Task :forge:makeSrcDirs
> Task :forge:prepareRuns
> Task :forge:prepareForge_client

> Task :forge:forge_client FAILED
Error : impossible to find or load the main class net.minecraftforge.legacydev.MainClient

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':forge:forge_client'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_352\bin\java.exe'' 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 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:command_line_warnings

BUILD FAILED in 8s
12 actionable tasks: 3 executed, 9 up-to-date
Execution finished 'forge_client'.

 

help please

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.