Make sure you put %JAVA_HOME%\bin in your path statement BEFORE anything
else including all of the windows' pathes.  What could be happening is that
the tdk is picking up an older version of the java.exe from the c:\windows
directory.  The best way you can tell is to go E:\ and type java -version.
If you see that it is using the 1.3 your PATH envvar is okay otherwise it is
picking up the version from the windows directory.

Hope this helps,
Scott

-----Original Message-----
From: Nils Kaiser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: problem installing sample application


hi,

I can't install the sample application coming with the tdk. I'm running ant
on the generated build.xml. It creates and fills the database but fails on
compiling the class files. I'm using windows 2k. here is what ant says:

compile:
    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 25 source files to
E:\Code\Java\tdk\webapps\newapp\WEB-INF
\classes

BUILD FAILED

E:\Code\Java\tdk\webapps\newapp\WEB-INF\build\build.xml:418: Cannot use
classic
compiler, as it is not available A common solution is to set the environment
var
iable JAVA_HOME to your jdk directory.

i set JAVA_HOME to my jdk dir (1.3). i also have my bin dir in my path. so
running javac form any path works well.

can you help?

thx.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to