Closed RexTheCapt closed 4 years ago
The error is on the bottom, "Module not specified". Try number 5 here: https://mcforge.readthedocs.io/en/latest/gettingstarted/#terminal-free-intellij-idea-configuration
I only get two options in the "Use classpath of module" list. "
Here is a screenshot https://imgur.com/U39Lhzb
@derimagia i still can't find a sollution
If you try to run it what error do you get?
In the build console i get the error java: invalid source release: 9
, i have no idea what that means. After i have run the gradle task genIntellijRuns and edit the configuration for "Minecraft Client" the main class is still red. Updated the gradle config to use the latest forge and yesterdays mappings. If you wan't i can make a little short video that shows what i do.
Sounds like you need to set your project to be using Java 8
sourceCompatibility and targetCompatibility is set to 1.8 in the gradle config. So it is already setup for java 8. It was the default settings too
In your IDE, similar to https://stackoverflow.com/a/26009627/9741606
Followed the instructions in the link, ran the gradle task setupDecompWorkspace, ran genIntellijRuns, selected minecraft client and clicked play Error: java: invalid source release: 9
, checked the config for the task and same as always.
You changed all of these to 8 / 1.8 right? And the JDK you have setup for the project is 1.8? (Again, in IntelliJ)
I am pretty sure i have done that.
Actually just started to use intellij.
Closing this issue as it does not appear to be applicable to the currently supported ForgeGradle branch (FG_3.0
).
If I am incorrect in this regard, please create a new issue prefixed with [FG_3.0]
and containing:
Note that an ongoing effort to update legacy MinecraftForge branches to utilize FG_3.0 is ongoing and accepting informed contributions. (For more information join the Discord and read through the #mcpconfig channel)
When i add a new Run/Debug application configuration and set the "Main class" to "GradleStart" it shows up as red. I am following a tutorial on youtube and when they do this step it shows up as blue
Then i did try to follow this video i get the same red text. I did do what he did but with never version.
version= 1.12.2-14.23.4.2705 mappings= snapshot_20180716 did not upgrade wrapper
When it comes to run minecraft i press the green play button and "Edit configuration" pops up instead of a minecraft client and this is the window