Uh yeah...

Your JAVA_HOME should point to /usr/local/jdk1.6.0_11



On Fri, 9 Jan 2009, robert lazarski wrote:

On Fri, Jan 9, 2009 at 5:12 PM, Scot P. Floess <sflo...@nc.rr.com> wrote:

If you type javac at the command line, what do you see?


/root> javac
Usage: javac <options> <source files>
where possible options include:

Something screwy is going on, the error:

ERROR: /programs/atadapter/oa/openAdapter/ati.build.xml:47: 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/local/jdk1.6.0_11/jre"

Shows that its appending "jre" tgo JAVA_HOME for some reason. I'm
invoking ant via code, and I added a java.home property, put tools.jar
on the classpath, all in both java and in the build.xml and nothing is
working.

- R

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org



Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to