Uploaded image for project: 'Maven Antrun Plugin'
  1. Maven Antrun Plugin
  2. MANTRUN-23

classpath related error when invoking the rmic task from maven

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • OpenSuSE 10, JDK1.5, Maven 2.0

    Description

      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.

      Attachments

        Activity

          People

            brett Brett Porter
            rohnny Rohnny Moland
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: