I got a new laptop with Windows 10 and I want to set it up so I can use java and javac from the command line.
java
javac
I have searched online but al
Adding Environment Variable simplified with screenshot. Check the below URL and you should be able to do without any trouble.
https://itsforlavanya.blogspot.com/2020/08/environment-variable-simple-7-steps-to.html