Given
- Multiple JDKs intalled in my Windows machine.. say JDK X, JDK Y,.. etc
- Environment variables JAVA_HOME & PATH are pointing to JDK X.
Action
java -versionat cmd, it printed JDK Y at console.
Expectation
- want
java -versionto print JDK X
What am I missing, so that it should print JDK X ?
