I'm trying to compile and run java file using the command line, but it's not working. I've followed the steps on http://introcs.cs.princeton.edu/java/15inout/windows-cmd.html, using the correct file path and a current jdk and I still get javac is not recognized when typing javac -version. What am I doing wrong?
PATHjavacworks now, but when trying to run my simple java file by enteringjava testI getException in thread "main" java.lang.UnsupportedClassVersionError