-1

I tried installing every jdks the system suggested but even after I couldn't run a single program I reinstalled the jdks repeatedly an there is no mistake with that. Even then it says "javac is available in the following packages"

1 Answers1

1

Check if java binary is in path. You may try setting JAVA_HOME environment variable. If you have not yet tried, you may try installing JDK from https://adoptopenjdk.net/. This installation automatically sets path for you.