D
drunken_wizard
Hi!
I am getting this error when i am trying to build jExcel API using ant:
"E:\jexcelapi>ant -buildfile build/build.xml
Buildfile: build\build.xml
init:
xllex:
logger:
jxl:
[javac] Compiling 401 source files to E:\jexcelapi\build\out
BUILD FAILED
E:\jexcelapi\build\build.xml:46: 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
Total time: 1 second"
Now i have the following ENV VARS set
JAVA_HOME: C:\Program Files\Java\jdk1.5.0_02
CLASSPATH: C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar
ANT_HOME: E:\Ant\apache-ant-1.6.5-bin\apache-ant-1.6.5
Can someone please explain why, still, am i getting this error?
Thanks.
DW.
I am getting this error when i am trying to build jExcel API using ant:
"E:\jexcelapi>ant -buildfile build/build.xml
Buildfile: build\build.xml
init:
xllex:
logger:
jxl:
[javac] Compiling 401 source files to E:\jexcelapi\build\out
BUILD FAILED
E:\jexcelapi\build\build.xml:46: 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
Total time: 1 second"
Now i have the following ENV VARS set
JAVA_HOME: C:\Program Files\Java\jdk1.5.0_02
CLASSPATH: C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar
ANT_HOME: E:\Ant\apache-ant-1.6.5-bin\apache-ant-1.6.5
Can someone please explain why, still, am i getting this error?
Thanks.
DW.