#Gradle doesnt wanna build

28 messages · Page 1 of 1 (latest)

drifting harness
#

I always forget how to fix this

woeful island
#

"Unsupported class file major version 63"

#

You need java 17 to build, as per the grasscutter github requirements

#

You also should be copying the contents of the cmd and pasting it in here with ``` before and after ```
instead of screenshotting the cmd

woeful island
#

Great, you need java 17 not java 19

drifting harness
#

This one?

woeful island
#

That would do it

drifting harness
#

I have to change the java path right?

woeful island
#

Your JAVA_HOME yes

drifting harness
#

Why does it ask for java 17 but doesnt support java 19?

#

Also yeah its working now

woeful island
#

grasscutter is built on java 17, so you need to use 17 when building it

#

you can run it with 19, but need to use 17 to build

drifting harness
#

Oh ok

devout ruin
#

must the java installation folder be named jdk-17? cause mine had some issues with 17.0.3.1

#

I don't think that should affect it, though

drifting harness
#

Mine is jdk-17

woeful island
#

No, mine is jdk-17.0.4.1

devout ruin
#

hmm

#

mine failed with version 17.0.3.1, but I updated to 17.0.6 and it was resolved

#

think it was an issue with java?

woeful island
#

I don't think so since I've built it with 17.0.3 as well (though a long time ago), might have just been a memory issue or some weird bug, sometimes paths don't update right because windows

devout ruin
#

alright, thanks

woeful island
#

sure thing

drifting harness
#

So since its fixed should i delete this?