Click here to Skip to main content
16,022,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i installed jdk-8u201-windows-i586 in windows 10 64 bit laptop
i set path as

my computer-->properties-->advance settings--> environment variable--> user variables-->new--> variable name ==JAVA_HOME AND variable value==C:\Program Files (x86)\Java\jdk1.8.0_201\bin
but i typed javac in command prompt 'javac' is not recognized as an internal or external command,
operable program or batch file.
can u help any one

What I have tried:

i installed jdk-8u201-windows-i586 in windows 10 64 bit laptop
i set path as

my computer-->properties-->advance settings--> environment variable--> user variables-->new--> variable name ==JAVA_HOME AND variable value==C:\Program Files (x86)\Java\jdk1.8.0_201\bin
but i typed javac in command prompt 'javac' is not recognized as an internal or external command,
operable program or batch file.
can u help any one
Posted
Updated 2-Apr-19 3:05am
v2
Comments
[no name] 10-Apr-19 11:47am    
1

You need to add the location of the Java executables to the PATH variable.
 
Share this answer
 
Comments
[no name] 10-Apr-19 11:47am    
1
You need to add only till
C:\Program Files (x86)\Java\jdk1.8.0_201
and not till bin.
 
Share this answer
 
Comments
[no name] 10-Apr-19 11:47am    
1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900