To know which Java is being used when we type java -verison

When we have install different java version for different use then we some times place problem in knowing which java is being picked when we are typing java -verision

To know the exact path from where the java.exe is picked iis just type the following line on comand prompt to know the exact path.

for %I in (java.exe) do @echo %~$PATH:I

Comments

Popular Posts