Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2258

AntBuilder broken by a RC-1 -> RC-2 change: Can't find compiler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1-rc-2
    • Fix Version/s: 1.1-rc-3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 7.10 Gutsy Gibbon, java version "1.6.0_03", Groovy Head r8979

      Description

      After a clean compile and install of Groovy and a clean compile and install of Gant then when Gant tries to process a javac Ant task, the following output is generated:

      > gant test
      [groovyc] No sources to compile
      [mkdir] Created dir: /home/Checkouts/Subversion/Gant/gant/trunk/target/test-classes
      [javac] Compiling 1 source file to /home/Checkouts/Subversion/Gant/gant/trunk/target/classes
      Unable to find a javac compiler;
      com.sun.tools.javac.Main is not on the classpath.
      Perhaps JAVA_HOME does not point to the JDK.
      It is currently set to "/usr/lib/jvm/java-6-sun-1.6.0.03/jre"
      > echo $JAVA_HOME
      /usr/lib/jvm/java-6-sun-1.6.0.03
      >

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              russel Russel Winder
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: