#Using JVM 21 but gradle wont shut up about JVM 17

1 messages · Page 1 of 1 (latest)

pine olive
#

I've actually been banging my head against a wall for an hour now because of this, I've set my JAVA_HOME to jdk21, my org.gradle.java.home to jdk21, and in build.gradle ive set it to be version 21. I actually beg for someone to help me out here because at this rate I'm going to go insane.

hallow hillBOT
#

<@&987246399047479336> please have a look, thanks.

pine olive
#

Nevermind I fixed it

#

Fuck gradle

river orchid
#

Are you using the gradle wrapper?

pine olive
#

Everything hardly works

#

I change anything and it all breaks

#

gradlew errors saying its missing some bullshit

river orchid
#

Is it though or are those warnings? Everything I've seen so far about minecraft related code is some guy layering his bullshit over some other guys bullshit layer.

#

Anyway, you have to update the gradle wrapper sometimes.

pine olive
#

alright ive kinda worked through that error

#

but now that ive fixed that old code that used to work perfectly fine just doesnt work

#

maybe itd be best to join a mc java related server

solemn wave
#

People in here can help with Minecraft related stuff too, but you need to give more than just "doesn't work"

river orchid
#

There's plenty of less surly, minecraft oriented people to help. Change your title and/or add a minecraft tag.

novel vine
# pine olive I've actually been banging my head against a wall for an hour now because of thi...

./gradlew --stop
delete ~/.gradle/caches/fabric-loom (on windows it's something like C:/user/your_user/.gradle/....)
in {your_project}/gradle/wrapper/gradle-wrapper.properties upgrade to 8.13 if not done and ur mc version >= 1.21
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

restart intellij with "invalidate and restart" https://www.jetbrains.com/help/idea/invalidate-caches.html