Typically, this full path looks something like C:\Program Files\Java\jdk1.7.0\bin. To set the PATH variable permanently, add the full path of the jdk1.7.0\bin directory to the PATH variable. It is useful to set the PATH variable permanently so it will persist after rebooting. If you do not set the PATH variable, you need to specify the full path to the executable file every time you run it, such as:Ĭ:\> "C:\Program Files\Java\jdk1.7.0\bin\javac" M圜lass.java You can run the JDK without setting the PATH environment variable, or you can optionally set it so that you can conveniently run the JDK executable files (javac.exe, java.exe, javadoc.exe, and so forth) from any directory without having to type the full path of the command. Updating the PATH Environment Variable (Optional) What I did was uninstall the jdk and reinstalled it but this time I READ THE DIRECTIONS ON THIS PAGE. Click to expand.OKAY I FIGURED IT OUT (AFTER 4 DAYS).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |