#Support effectivepower
1 messages · Page 1 of 1 (latest)
Have you tried getting good?
What works for me:
CTRL+SHIFT+ALT+Sand setting SDK to java 17CTRL+ALT+Sand inBuild, Execution, Deployment>Build Tools>Gradleset Gradle JVM to java 17
java 17 can be set to any java version you want as long as it's above 17 I think
Also iirc by default the run config uses the wrong jvm version, that one should be set to java 8
still the same error
I can pretty much replicate the same error, just not for the events project
And having Project SDK and Gradle JVM set to java 17 fixes it for me
shouldn't it do that automatically anyways? idk anymore
All I changed was this @lime copper and it fixed it
the run config is supposed to be 8
set language level to 8
i can launch in the dev minecraft and it works fine but not with ./gradlew build
wait are you just running the command in the terminal?
that doesn't take your intellij settings iirc
press ctrl twice and just enter gradle build
i mean thats how i build every other mod like sh and drm with terminal
yea no clue, maybe they just put smth into the gradlew config and that makes it work
it works fine with sh as they actually have some build instructions, drm needed some special java version
cause if I use .\gradlew build in my terminal it also doesn't work
it built so now i can go and test to see if my pre dev patch works
wdym with pre dev patch
so basically you want it to allow to predev right?
yup
gradlew build works from cmd for me
is your java_home set to 17 java?
(or any version except 8)
mhm, 21
explains it then
drm probably works cause it compiles using java 8 and skyhanni seems to be setting the java version everywhere in the build file
well it would have been nice to know that the dungeon sweat doesnt just play cat in my ear
xd
but mine is an actual toggle