Hi, > > C:\j2eetutorial\examples>ant all > > The filename, directory name, or volume label syntax is incorrect. > > Buildfile: build.xml > > > > init: > > > > savingsaccount: > > [javac] Modern compiler is not available - using classic compiler > > [javac] Compiling 5 source files to > > C:\j2eetutorial\examples\build\ejb\savingsaccount > > > > BUILD FAILED > > > > C:\j2eetutorial\examples\build.xml:54: Cannot use classic > > compiler, as it is > > not > > available A common solution is to set the environment variable > > JAVA_HOME to > > your jdk directory. > > > > Total time: 0 seconds > > C:\j2eetutorial\examples>set java_home > > JAVA_HOME=C:\jdk1.3.1_02 > > > > As you can see, JAVA_HOME is set to point to the installation directory. > > Typing javac from the same location yields the help text, as you would > > expect.
have you included the current JDK in your %PATH%? I believe your %PATH% contains an old JDK, perhaps from an IDE like VA or JBuilder. Be sure to include %JAVA_HOME%\bin in your path, before IDEs. Bye -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>