Project construction failure. java and gradle error

Godot Version

4.2.1

Question

solving an error and a new one arises. Every time I try to build the apk a new error appears. Now this happens to me about gradle and java. It is the fourth error it shows me. I’m already starting to get frustrated


As the error message says, you have java home set to /path/to/jdk which is obviously a placeholder value and not an actual file or directory on your system.

How should I place it friend? to modify the path in the file

It’s also throwing an error that says: javawithjavac or something like that