Run "whereis java" ("where java" in Windows) to find out how many java 
executable you might have in PATH and which one is listed first. That's where 
I'd start.



-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: June-25-12 9:45 AM
To: [email protected]
Subject: compile plugin

I've got multiple jdk's installed.  I'm trying to force maven to use my java 7. 
 I invoke mvn with a JAVA_HOME value that points to my desired jdk, but then 
the compile plugin complains about 1.7 not being a valid source setting . . . 
seems like the JAVA_HOME doesn't control the execution of the compile plugin . 
. .

Ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to