When I set path C:\Windows\System32
, the ipconfig
command works, but javac
and java -version
commands don't work.
While, when I set path variable to C:\Program Files\Java\jdk-14.0.1\bin
they work, but ipconfig
command stops working.
How can I solve it in order to make work both the commands?