Check PATH Again

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

Yes. It should be.

Check PATH Again

Check that PATH is correct. First, close your old command prompt window and start a new command prompt window. You must do this because the new PATH only takes effect with a new window.

Now change directory to C:/Temp (or directory of your choice) and enter the command PATH. The new directory should be at the end of the list:

Now when you enter the command javac you should see the compiler run. Without giving it a file to compile, it will merely type out some documentation (as above).

QUESTION 5:

Now What?