reset password
Author Message
cs422@2009
Posts: 8
Posted 11:32 Jun 03, 2010 |

Hi,

When I try to run my csns.build.xml I'm getting the following error. My build file is pointing to ${workspace_loc:/csns/build.xml}. I also checked my JAVA_HOME variable in environment variables  and it is pointing to jdk.

Buildfile: C:\MS\CS520_software\workspace\csns\build.xml

init:

build:

[javac] Compiling 1 source file to C:\MS\CS520_software\workspace\csns\build\classes

 

BUILD FAILED

C:\MS\CS520_software\workspace\csns\build.xml:98: 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 "C:\Program Files\Java\jre6"

cs422@2009
Posts: 8
Posted 11:52 Jun 03, 2010 |

I got it working. I refreshed the project few times and it starts working.