I am trying to compile a Java program at the command prompt. I have modified my PATH variable to locate the javac.exe, but I still get the following error (see attachment). I have read the FAQ on this topic, but I am still having problems. Please help! :
That PATH doeson't look right to me. There is no such folder as javapath; please show us the contents as javapath (not as a screenshot please). The PATH to Java® should start with the drive letter (usually C on a Windows® box) and should end with bin.
[addition] javapath\bin might be a correct PATH component, and as you correctly guessed, it should go before any other PATH components that might contain a Java® installation. The \bin for the Java® PATH should therefore precede the first ;
Yes, I exited the command window and re-entered it. The path variable is unchanged. And Yes, the Party.java program is from the book you mentioned, but that is irrelevant since I can't find the javac.exe to tell me the error itself.