Assuming you mean you want to specify a particular javac for Maven to use when compiling code... compilation is carried out (by default) by the Maven compiler plugin, so it's this you need to configure. Details on configuring it to use a specific JDK are given here:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using -different-jdk.html Jon > -----Original Message----- > From: Roman Kournjaev [mailto:[email protected]] > Sent: 22 July 2009 14:18 > To: Maven Users List > Subject: Define a special JDK for compilation > > Hi Guys > > Do you know where do i adjust the JDK for maven specially ? I > know that maven takes the JAVA_HOME as a default, but i have > a problem with that , i want it to take a special javac from > some other JDK. > > Thanks > Roman > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
