db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Nguyen" <franktngu...@sbcglobal.net>
Subject Unable to find javac compiler error
Date Tue, 10 Feb 2004 20:43:09 GMT
Hi,

I was able to generate java and sql code for Bookstore sample. However, I
couldn't compile it. The error is:

D:\torque-gen-3.1>ant -f build-torque.xml compile
Buildfile: build-torque.xml

compile:
    [javac] Compiling 16 source files to D:\torque-gen-3.1\bin\classes

BUILD FAILED
file:D:/torque-gen-3.1/build-torque.xml:663: 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: 17 seconds

================================================================
I do have do JAVA_HOME set to d:\j2skd1.4.1_05 and was able to compile any
java code. There must be something wrong with the config file but I couldn't
figure out why. I used:

torque-gen-3.1
jakarta-ant-1.5
j2sdk1.4.1_05

I copied ant's lib jars' and torque's lib jars into j2sdkxxx/jre/lib/ext.

Thanks in advance,

-Frank

Mime
View raw message