I delete jdk\bin path from environment variables path in windows but when ı write "java -version" in anywhere , it still returns true results . How ?
-
1Have you opened a new terminal? If not, you'd still have the environment variables from before you deleted it from your settings.Mureinik– Mureinik2014-05-17 13:57:33 +00:00Commented May 17, 2014 at 13:57
-
Yes ı opened new terminal but it returns same resultcanmurat– canmurat2014-05-17 14:00:01 +00:00Commented May 17, 2014 at 14:00
Add a comment
|
3 Answers
You can use the where command, to check which java application is executed when you run java -version
Is there an equivalent of 'which' on the Windows command line?
2 Comments
canmurat
Yes after this "where java" , result : C:\Windows\System32\java.exe
peter
you can look into stackoverflow.com/questions/8223511/… and stackoverflow.com/questions/11063831/… to find an answer how it got there. Probably you can simply remove it.
Just type where java in cmd console, and you'll get where it is. And as it shows, I think you need check this location(C:\Windows\System32), when you instal java, Java exe files are copied to windows System32 folder, java.exe, javaw.exe and javaws.exe are available there.