Bug in editor settings: can't add java SDK path

Godot Version

4.2.1

Question

I'm trying to export a project, which I have done before, but for some reason there is no option to put "java SDK path" there:

According to official documentation it should be there: Exporting for Android — Godot Engine (stable) documentation in English.

The link you gave is for v4.3 while you’re in 4.2. The 4.2 docs do have the Java path at the bottom, of the panel, though; so I don’t know. But given that there seem to be some changes you might try downloading 4.3 or a newer version , seeing if that has the page correctly, and then seeing whether you can update your project to that? If you’re still not seeing it; then it might mean filing a bug report on github. There was one issue about exporting and Java path in the issues list there, but it doesn’t seem to be quite the same (I only glanced at it though). GitHub · Where software is built

1 Like

Okay thanks, I tried using 4.3 also but it was still missing.

I think the option has been there before, but recently I downloaded old java version (my son played Minecraft and it required different java version) so could that have messed up something? But that shouldn’t directly affect to godot settings right?

I tried 4.3 and this was at the bottom of the list:

1 Like

I also see it on 4.3.stable.

Okay now I tried 4.3 again and it shows. I don’t know what the reason is. I tried it yesterday multiple times but it didn’t show. I did however reinstall java / reboot computer multiple times yesterday.

So anyway now it’s working for 4.3 but still not for previous versions. Doesn’t matter, transferring projects to 4.3 now.

In previous versions, it was not needed at all.

Okay I guess I remembered wrong then. I searched some old topics from before 4.3. I used 4.2.1 previously but found this from 4.2.2: Invalid java SDK path in Editor Settings.Missing 'bin' directory! · Issue #90831 · godotengine/godot · GitHub

So maybe it was in 4.2.2 but not in 4.2.1?

1 Like