jdk didn't install properly in my computer.What do I do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

jdk didn't install properly in my computer.What do I do?

When i typed `javak` on command prompt, it is saying that it is not recognized as an internal or external command, what do I do ?

16th Apr 2017, 11:19 AM
Smitha
8 Answers
+ 14
And what happens if you type the javac command with params correctly? Did you set the path?
16th Apr 2017, 11:24 AM
Tashi N
Tashi N - avatar
+ 5
javak is not command.. type javac and check.. or type java -version and check the version of jdk.
16th Apr 2017, 11:36 AM
Mayur Chaudhari
Mayur Chaudhari - avatar
+ 4
plz used javac or java -version. javak is not command
16th Apr 2017, 4:38 PM
Mayur Chaudhari
Mayur Chaudhari - avatar
+ 1
I've encountered this problem too @Smitha and the solution is simple really. All you need to do, besides adding that path to the path variable, is to change that path variable name to uppercase too and then it will work. Example (Java): -Click on start menu then right-click "Computer" and choose properties. -Then click on "Advanced system settings" -Then click on "Environment Variables.." -Then in the "System variables" box, search for the path variable -If the path variable is still written like this "Path" then change it to uppercase "PATH" If you've already added the path as instructed in the Java tutorial then this simple change of path variable name to uppercase will make it work.
16th Apr 2017, 1:37 PM
Ghauth Christians
Ghauth Christians - avatar
0
I did set the path correctly. I even typed javak command properly. I wonder why it happened?
16th Apr 2017, 11:29 AM
Smitha
0
yah
16th Apr 2017, 4:51 PM
mori
0
ok
16th Apr 2017, 4:52 PM
mori
0
yas
16th Apr 2017, 4:53 PM
mori