I'm trying to install Android Studio on my computer after formatting, however I'm getting the following error:
I already have openjdk 11 installed and the JAVA_HOME variable is already defined.
Yesterday I performed the same process without any problems on a Windows 10 machine, however on my personal Windows 11 PC I am getting this problem.
I have tried different versions and distributions of JAVA, such as JAVA 8 provided by Oracle, OpenJDK 11 provided by Microsoft and Eclipse Foundation, however without success.