Can't build Gradle failed and above JDK Java

Does this issue occur when building the magic leap example project?
Yes, it was, it also didn't build.
I handled the issue. Thanks for your help.

  1. Installed the 2022.3.18 version of Unity and
  2. Moved my Unity project in another folder on another disk.

And it built fine. I suppose it was the folder/disk permission issue.

Now when I build Examples I manage to install them to the device but they don't start or start and 'crash' just nothing happens.

Any advice?