I am getting this error in Eclipse.
C:\Users\Iti\eclipse-workspace\Iti\src\build.xml:17: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Users\Iti\AppData\Local\Temp\eoiEA75.tmp\plugins\org.eclipse.justj.openjdk.hotspot.jre.minimal.stripped.win32.x86_64_14.0.2.v20200815-0932\jre"
I have set JAVA_HOME to C:\Program Files\Java\jdk-15.0.1 in the system environment variables.