ant build error Compiler Adapter '/usr/local/java/jdk1.6.0_17' can't be found.

I have a default compiler of 1.5 and do not want to change the default but reference the 1.6 compiler from the ant script. Any ideas?
Error:
/xxx/xxx/xxx/scripts/build.xml:46: Compiler Adapter '/usr/local/java/jdk1.6.0_17' can't be found.
      at .apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.resolveClassName(CompilerAdapterFactory.java:169)
      at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:130)
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
Caused by: java.lang.ClassNotFoundException: /usr/local/java/jdk1.6.0_17

Ant script snippet:
   <property name="jdkHome.dir"       location="${javaHome.dir}/jdk${jdk.version}"/>
   <property name="jdkBin.dir"        location="${jdkHome.dir}/bin"/>
   <property name="jdkLib.dir"        location="${jdkHome.dir}/lib"/>
   
    <!-- set global properties for this build -->
    <property name="appname" value="xxxxxx"/>
    <property name="src" value="src"/>
    <property name="build" value="build"/>
    <property name="scripts" value="scripts"/>
    <property name="deploy.dir"  value="deploy"/>
    <property name="lib"  value="lib"/>
    <property name="classes.dir"  value="classes"/>
    <property name="config"  value="config"/>
    <property name="bin"  value="bin"/>
    <property name="property_files"  value="com/xx/resources"/>
      <path id="compile.classpath" >
       <fileset dir="${jdkLib.dir}">
         <include name="*.jar"/>
       </fileset>
  </path>

        <javac compiler="${jdkHome.dir}"
                   srcdir="${src}"
                   destdir="${classes.dir}">
               <classpath refid="compile.classpath"/>
               <include name="com/ln/**/*.java"/>
        </javac>
    </target>

    <target name="deploy" depends="compile"
        description="generate the distribution" >       
        <copy file="${basedir}/${property_files}/ldap_response_codes.xml" todir="${classes}"/>

        <!-- Put everything in ${classes} into the ${appname}.jar file -->
        <jar jarfile="${deploy}/${lib}/${appname}.jar" basedir="${classes}"/>
        <copy file="${scripts}/checkSubversionCredentals" todir="${deploy}/${bin}"/>        
    </target>


rayskeltonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Try
<property name="java.home"       location="${javaHome.dir}"/>

Open in new window

CEHJCommented:
Actually

1. Make that the below
2. Unset the compiler attribute in javac
<property name="java.home" location="/usr/local/java/jdk1.6.0_17" />

Open in new window

rayskeltonAuthor Commented:
Yes, I should have caught that and now am a little ferther with the following error.
Cide snippet:
   <target name="compile" depends="init">
      <javac srcdir="${src.dir}" destdir="${classes.dir}"
            source="${javac.source}" executable="${jdkBin.dir}/javac"
            includeAntRuntime="false">
       <classpath refid="classpath"/>
       </javac>
   </target>

Error:
 [javac] Compilation arguments:
    [javac] '-d'
    [javac] '/pvcs/scm/audit_reports/classes'
    [javac] '-classpath'
    [javac] '/pvcs/scm/audit_reports/classes:/usr/local/java/jdk1.6.0_17/lib/dt.jar:/usr/local/java/jdk1.6.0_17/lib/htmlconverter.jar:/usr/local/java/jdk1.6.0_17/lib/jconsole.jar:/usr/local/java/jdk1.6.0_17/lib/sa-jdi.jar:/usr/local/java/jdk1.6.0_17/lib/tools.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/core/core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/core/org-openide-filesystems.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/boot.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/org-openide-modules.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/org-openide-util.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/jh-2.0_05.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/swing-layout-1.0.3.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/updater.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-jdesktop-layout.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-api-progress.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-api-visual.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-execution.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-multiview.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-nativeaccess.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-output2.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-windows.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-applemenu.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-autoupdate-services.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-autoupdate-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-core-kit.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-editor-mimelookup-impl.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-editor-mimelookup.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-favorites.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-javahelp.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-masterfs.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-options-api.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-options-keymap.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-progress-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-queries.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-sendopts.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-settings.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-templates.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-spi-quicksearch.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-outline.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-plaf.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-tabcontrol.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-actions.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-awt.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-compat.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-dialogs.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-execution.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-explorer.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-io.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-loaders.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-nodes.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-options.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-text.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-util-enumerations.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-windows.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/lib/jfluid-server-15.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/lib/jfluid-server.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler-common.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-modules-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/core/locale/core_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application-views.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-attach.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-coredump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-heapdump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-views.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jmx.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvmstat.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sa.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-threaddump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-core_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar'
    [javac] '-sourcepath'
    [javac] '/pvcs/scm/audit_reports/src'
    [javac] '-g:none'
    [javac] '-source'
    [javac] '1.6'
    [javac]
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] Files to be compiled:
   
    [javac] javac: invalid source release: 1.6

Stack:
/xxx/xxx/xxx/scripts/build.xml:43: Compile failed; see the compiler error output for details.
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.Main.runBuild(Main.java:668)
      at org.apache.tools.ant.Main.startAnt(Main.java:187)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

build properties:
javaHome.dir=/usr/local/java
jdk.version=1.6.0_17
javac.source=1.6
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

rayskeltonAuthor Commented:
The error from above:
javac] javac: invalid source release: 1.6
CEHJCommented:
Try
<target name="compile" depends="init">
      <javac srcdir="${src.dir}" destdir="${classes.dir}"
            includeAntRuntime="false">
       <classpath refid="classpath"/>
       </javac>
</target>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rayskeltonAuthor Commented:
This now compiles but produces output errors like the folowing.

Using modern compiler
    [javac] Compilation arguments:
    [javac] '-d'
    [javac] '/pvcs/scm/audit_reports/classes'
    [javac] '-classpath'
    [javac] '/pvcs/scm/audit_reports/classes:/usr/local/java/jdk1.6.0_17/lib/dt.jar:/usr/local/java/jdk1.6.0_17/lib/htmlconverter.jar:/usr/local/java/jdk1.6.0_17/lib/jconsole.jar:/usr/local/java/jdk1.6.0_17/lib/sa-jdi.jar:/usr/local/java/jdk1.6.0_17/lib/tools.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/core/core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/core/org-openide-filesystems.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/boot.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/org-openide-modules.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/lib/org-openide-util.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/jh-2.0_05.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/swing-layout-1.0.3.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/ext/updater.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-jdesktop-layout.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-api-progress.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-api-visual.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-execution.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-multiview.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-nativeaccess.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-output2.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core-windows.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-applemenu.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-autoupdate-services.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-autoupdate-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-core-kit.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-editor-mimelookup-impl.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-editor-mimelookup.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-favorites.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-javahelp.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-masterfs.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-options-api.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-options-keymap.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-progress-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-queries.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-sendopts.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-settings.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-modules-templates.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-spi-quicksearch.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-outline.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-plaf.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-netbeans-swing-tabcontrol.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-actions.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-awt.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-compat.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-dialogs.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-execution.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-explorer.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-io.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-loaders.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-nodes.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-options.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-text.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-util-enumerations.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/platform9/modules/org-openide-windows.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/lib/jfluid-server-15.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/lib/jfluid-server.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler-common.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler-ui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-lib-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/profiler3/modules/org-netbeans-modules-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/core/locale/core_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application-views.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-attach.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-core.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-coredump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-heapdump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-views.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jmx.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvmstat.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiler.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sa.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-threaddump.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-core_visualvm.jar:/usr/local/java/jdk1.6.0_17/lib/visualvm/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar'
    [javac] '-sourcepath'
    [javac] '/pvcs/scm/audit_reports/src'
    [javac] '-g:none'
    [javac]
       
  [javac] /xxx/xxx/xxx/src/com/xx/xxx/xxx.java:116: cannot find symbol
    [javac] symbol  : method isEmpty()
    [javac] location: class java.lang.String
    [javac]                         if (group.isEmpty()) {
    [javac]                                  ^
   
CEHJCommented:
That's an error in your code - nothing to do with Ant. You need to open a new question
rayskeltonAuthor Commented:
Thanks for the help. The last issue is a code problem not showing up in Netbeans.
CEHJCommented:
:-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.