tag:blogger.com,1999:blog-19457310.post8640261349411581147..comments2023-02-09T20:01:53.599-08:00Comments on Marlon Pierce's Community Grids Lab Blog: Calling javac from Ant Inside Maven Using AntRunAnonymoushttp://www.blogger.com/profile/11646814516542136925noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-19457310.post-44843272341751503942010-06-28T17:54:48.751-07:002010-06-28T17:54:48.751-07:00Thanks Marlon - that worked for me.Thanks Marlon - that worked for me.drehttps://www.blogger.com/profile/11218944130939008335noreply@blogger.comtag:blogger.com,1999:blog-19457310.post-66567075983506180702010-04-28T17:58:42.131-07:002010-04-28T17:58:42.131-07:00I found this page: http://docs.codehaus.org/displa...I found this page: http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide.<br />I saw following statement:<br />${java.home} specifies the path to the current JRE_HOME environment use with relative paths to get for example:<br />${java.home}../bin/java.exe<br /><br />So, java.home does not overwrite JAVA_HOME. It just refers to a different thing (JRE_HOME). tools.jar is included in JDK instead of JRE. So java.home should not be used.<br />I guess the problem is the name (java.home) is confusing :-( Probably, jre.home is better.Gerald Guohttps://www.blogger.com/profile/06379139111711649958noreply@blogger.com