#:compileJava failed

69 messages · Page 1 of 1 (latest)

storm oak
#

I get when I run gradlew-jar.bat

Configure project :
Publishing to sonatype

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

invalid source release: 17

  • 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.

BUILD FAILED in 3s
4 actionable tasks: 1 executed, 3 up-to-date
Press any key to continue . . .

hollow summit
#

You need to be using java 17

storm oak
#

I am using Java 17.0.6

hollow summit
#

Your java home variable is set to something else

storm oak
#

ok no I am not

#

my java version is 19.0.2

#

sorry

#

I thought I uninstalled and downgraded to 17

hollow summit
#

No worries

storm oak
#

Does domains work with GC?

hollow summit
#

Some do, some partially, some not at all

storm oak
#

So what kind of gameplay is everyone playing on it? Just watching pretty scenary?

hollow summit
#

It's mostly sandbox stuff, yeah. You can try out characters, weapons, wish, go wherever you want

storm oak
#

hmm, i set java_home to C:\Program Files\Java\jdk-17

#

but I am getting
FAILURE: Build failed with an exception.

  • What went wrong:
    The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk1.8.0_221\bin\java.exe
hollow summit
#

check that your java folder is set up that way, since it looks like it was trying a different java exe

storm oak
#

It is

hollow summit
#

the error seems to indicate that your java home is being searched for in jdk1.8 instead of jdk-17, so you might want to go edit it and ensure it is set correctly again

storm oak
#

yeah, I restarted windows and was able to delete it !

hollow summit
#

Good to hear

storm oak
#

Do I need those?

heavy sun
#

Yes

storm oak
#

Where can I get those

heavy sun
#

What

heavy sun
#

It's the correct link

storm oak
#

yuuki's link does not have readables and subtitle

heavy sun
#

Oh

storm oak
#

says it's for 3.4 so I'll try

heavy sun
#

No you don't need readables / sub

hollow summit
#

You will get boolean error with those right now iirc

heavy sun
hollow summit
#

just use yuukis

storm oak
#

ok

storm oak
#

hmm I got to the login screen

#

made user with account create user 1111

#

says system error, can't login

hollow summit
#

#1025543438604710018
you need to disable encryption on the server when using cultivation for localhost

#

if you're not using cultivation then you have an error in your grasscutter console that prevented it from starting

storm oak
#

I am using cultivation

#

encryption is disabled

#

ok, got over that, getting error code 4214

hollow summit
#

need to patch

storm oak
#

yeah

#

is it the same for 3.4?

hollow summit
#

yeah

storm oak
#

it works !

#

why are u so helpful?

#

got no sound tho

hollow summit
#

haha no problem, you probably didn't get audio when you downloaded your client

storm oak
#

I downloaded it through mihoyo tho

hollow summit
#

the voice overs are a separate download from the client, same with the update files

#

ahh

#

if you didn't login on official and make sure it finished updating that could be why

storm oak
#

ok, I will login in official first then try again

storm oak
#

hm, still got no sound

#

et

#

ah it was muted

#

lmao

#

Why doesn't my commant /target work?

#

,, /target 1111 says unknown command

hollow summit
#

that's not a command you use in-game, that's for targeting players from cmd as far as I'm aware

storm oak
#

yeah on cmd running grasshopper

hollow summit
#

in-game commands apply to you already without any uid

#

if you're sending commands from cmd then you need to leave out /

#

commands don't use slashes before them in cmd

storm oak
#

ah it works thx !