compilation - Java Environment Variables -
so i'm setting compile java on windows 10 computer, , when went environment variables there no existing path, added one. when type "javac" in command prompt able recognize it, when try save java file (on notepad test) , try put in command prompt "is not recognized internal or external command, operable program or batch file." i've looked response refers environmental variables, can't figure out did wrong. path looks this: c:\program files\java\jdk1.8.0_77\bin. missing obvious?
here need set 2 variables in " environment variables " executing java files. in image can see first variable(java_home) defining path of jdk in system , second variable defining path java executables(javac.exe, java.exe, javadoc.exe, , on) reside. problem solved....
Comments
Post a Comment