enter image description hereI just installed Kali and am Java 17 (JDK & JRE) and am trying to configure JAVA_HOME as an environment variable.
But Im getting [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
To solve my error as mentioned