Koray Tugay
Koray Tugay

Reputation: 23844

Why my java -version is different than what I see in mvn --version

When I type

java -version in C:\ I see java version "1.7.0_05"

When I type

mvn --version I see:

Java version : 1.6.0_37

So why is this difference?

Upvotes: 0

Views: 95

Answers (1)

dillip
dillip

Reputation: 1842

JAVA_HOME and PATH environment variable point to different java directories/installations?

Upvotes: 3

Related Questions