Re: Forking compiler does not honor JAVA_HOME. Is this a Bug?

2007-06-30 Thread Eric Redmond
This is not a bug - if you want to specify a specific JVM to run, try using the executable element to specify a path. You can even use the ${ env.JAVA_HOME} variable, like ${env.JAVA_HOME}/bin/javac http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html

Forking compiler does not honor JAVA_HOME. Is this a Bug?

2007-06-28 Thread Paul Spencer
When the compiler is forked, the jdk in the PATH is used, not the one defined by JAVA_HOME. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration verbosetrue/verbose forktrue/fork /configuration