JAVA_HOME Enviroment references on Unity 6 hunting me again

Again, as always, this references are buged. I’m getting this message while trying to build and apk on Unity 6:
aaa

Now, i don’t even have Unity 2022 installed on my PC and my JAVA_HOME enviroment references are at Unity 6

So why? why is again buged? also, all my other projects that are on older versions of Unity (Unity 2021) are also failing to build because of this and it was working before i installed Unity 6 -.-"

Edit: if i use echo %JAVA_HOME% on cmd, it shows that the directory is:
C:\Program Files\Unity\Hub\Editor\6000.0.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK

Seems like an issue on the Android Resolver. Can you check what the external tools window says and if there is any warning there?

Yes i already checked that the moment i posted this, i forgot to post an image:

I also tried “copy path” and paste it manually
I also tried this: https://discussions.unity.com/t/unable-to-build-with-2021-3-34f1/937436/6

Sounds similar to Android Build problems after Advertisement package installation - #5 by Nakrodus
Try removing Dependency resolver and installing latest version

Sorry i do not understand what are you talking, i can’t see any “Dependency resolver” on the package manager, i get a file from that github and it has a package called “external dependency manager latest” i imported that on the project, then i guess i have to go to: Assets > mobile dependency resolver > android resolver > delete resolved libraries… ? i did it and if i click “resolve” it shows the same error, so i guess is not working either

Update:
If i change the paths to the ones that unity 2023 is using (in editor/2023) it shows this message
qefwe

Have you removed previous version from your project before importing the latest?

mm no, how can i do that?

Look for folder called “Mobile Resolver”, “Dependency Resolver” or something like that in your project tree and remove these.

Ok, that worked, at least i don’t have that error, but now there is another problem…

poor guy is falling into the void

I know it looks like this where the scene is empty, but it is not… there is a “street”

And scene is loaded in the build settings:

Is also showing this message when i try to play it on editor:
qefwe

Update edit:
There is also this error
Unexpected transport error from import worker 9. code=10054 error=An existing connection was forcibly closed by the remote host.

Update 2.0: Yes all the objects are “read/write” enabled, the problems persists

I asume it has to be with this JAVA_HOME error because this does not happens with the project on an older version of Unity

anybody there? please…