Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] Building using ant with eclipse 2.1

Hi,
I am getting the following error when I run by build.xml:

compile:
       [javac] Compiling 2 source files to \_usr\tare\java\classes
       [javac] BUILD FAILED: file:D:/eclipse/workspace/CAReS/build.xml:14:
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

I checked my path, classpath, and Java_HOME and they all point to
"D:\j2sdk1.4.1_01\bin" that contain the javac.exe
Please let me know how I resolve the following error.

Thanks,



-----Original Message-----
From: David Medinets [mailto:medined@xxxxxxxxxxx]
Sent: Thu, January 02, 2003 8:11 AM
To: platform-ant-dev@xxxxxxxxxxx
Subject: Re: [platform-ant-dev] Building using ant with eclipse 2.1


Are you unfamiliar with both Ant and Eclipse or just Eclipse?

I usually place my build.xml in the root directory of my project. I use the
Planty plugin (findable through google) to edit the file. When I want to run
a task, I right-click then choose the 'Run Ant..' menu option. I'm using
Eclipse v2.01 but the concepts are the same, I think.

I hope that gets you started.

----- Original Message -----
From: "Hamdan, Saad" <Saad.Hamdan@xxxxxxxxxxxxxxxx>


> I am new to eclipse and I am trying to build using ant for the first time.


_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev


Back to the top