Hi
When i am trying run an application in
JBOSS 4.0 via eclipse 3.3 i am getting the below exception
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 had set the below enviorment variables
JAVA_HOME C:\Program Files\Java\jdk1.5.0_04
PATH C:\Program Files\Java\jdk1.5.0_04\bin
and when i check in the
Ant>Runtime>GlobalEntries its pointing to C:\Program Files\Java\jdk1.5.0_04\lib\tools.jar
please advice why this error is coming and how to fix.
i am able to execute the same application with
tomcat 5.0
Thanks