You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/11/04 07:59:06 UTC
[jira] Closed: (MNG-1334) classpath related error when invoking the rmic task from maven
[ http://jira.codehaus.org/browse/MNG-1334?page=all ]
Brett Porter closed MNG-1334:
-----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
<dependency>
...
<systemPath>${java.home}/lib/tools.jar</systemPath>
</dependency>
can be added to the antrun plugin
> classpath related error when invoking the rmic task from maven
> --------------------------------------------------------------
>
> Key: MNG-1334
> URL: http://jira.codehaus.org/browse/MNG-1334
> Project: Maven 2
> Type: Bug
> Components: maven-antrun-plugin
> Versions: 2.0
> Environment: OpenSuSE 10, JDK1.5, Maven 2.0
> Reporter: Rohnny Moland (JIRA)
> Assignee: Brett Porter
>
>
> When invoking the rmic task from maven, I get this error message:
> "Cannot use SUN rmic, as it is not available. A common solution is to
> set the environment variable JAVA_HOME or CLASSPATH."
> Invoking the rmic task from ant works fine. So it must be a classpath problem when using ant embedded in maven.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org