Configure Maven to use different JDK for different J2SE versions?

We solved this problem by explicitely sepecify the javac in config of compile plugin (with JAVA_HOME_6 and JAVA_HOME_7 defined as environment variables).

We solved this problem by explicitely sepecify the javac in config of compile plugin (with JAVA_HOME_6 and JAVA_HOME_7 defined as environment variables): and for Java 6 module org.apache.maven. Plugins maven-compiler-plugin 1.6 1.6 true true ${env. JAVA_HOME_6}/bin/javac true and for Java 7 module org.apache.maven.

Plugins maven-compiler-plugin 1.7 1.7 true true ${env. JAVA_HOME_7}/bin/javac true.

Thanks, you answered incredible fast, I'm just gonna clarify my question one more step, but you've already give the answer. :) – Xie Jilei Jan 18 at 12:37 @谢继雷'Lenik well then an upvote would perhaps be appropriate – Sean Patrick Floyd Jan 18 at 12:38.

You can tell the maven-compiler-plugin to Compile Sources Using A Different JDK org.apache.maven. Plugins maven-compiler-plugin 2.3.2.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions