I'm trying to run my java program using the java
and javac
command, but it returns this in the terminal:
'java' is not recognized as an internal or external command,
operable program or batch file.
I'm currently using IntelliJ IDEA 2020.2 and have JDK 14.1 installed.
Have you configured your system PATH variable?
See https://www.java.com/en/download/help/path.html.