javac' is not recognized
March 9th, 2009
Applies to:
Windows
Description:
“javac.exe” executable cannot be found in path
Cause:
a. JDK is not installed
b. The jre entry PATH variable is not set to the path of Java Development Kit (JDK)
Applies to:
Windows
Description:
“javac.exe” executable cannot be found in path
Cause:
a. JDK is not installed
b. The jre entry PATH variable is not set to the path of Java Development Kit (JDK)
JAVA-Compiler j, java, lrm-00118: syntax error at '=' at the end of input
Add the full path of jdk\bin directory to the PATH variable:
1. Click Start > Control Panel > System
2. Click Advanced system settings > Advanced tab > Environment Variables
3. In the lower “System Variables” section, highlight the PATH line
4. Click the “Edit” button and add the bin directory of JDK to PATH
Place %JAVA_HOME% (contains the path of your jre) at the front of PATH.