0

jdk-8u101-windows-i586

installed jdk 86 bit for windows vista however the command prompt does not locate it and getting info like "'javac' is not recognized as an internal or external command...." -what to do then?

18th Aug 2016, 2:50 PM
jim1975
3 Respostas
+ 2
You have to setup java environment variable. 1.Right click on My Pc 2.Select properties 3.Open Advance system setting 4.Click on 'Environment variables' 5.Find 'PATH', select it & then click on edit. 6.Then open the jdk installed location(Default location: c->Program file(x86)->java->jdk->bin) copy the path 7.Now click on new(In environment variable->path) and paste the copied location 8.Now copy the path (c-pf(x86)-java-jre->bin) 9.again click on new and copy the path 10.Click OK. Done You also can search on google "How to setup java environment variables"
18th Aug 2016, 3:55 PM
Kashif Hashmi
Kashif Hashmi - avatar
0
you directly access java/javac in the command prompt by writting its full path eg c:\java\jre\bin\javac.exe name.java
6th Sep 2016, 1:14 PM
eduardo capucho
eduardo capucho - avatar
- 1
hi
19th Aug 2016, 5:57 PM
sanket nimase