Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error : Cannot use classic compiler, as it is not available

Status
Not open for further replies.

AnthonyGeorge

Technical User
Jun 3, 2004
46
GB
I am trying to build poolman a tool that u can use with tomacat it pools databse connections>

When I try to build the application I get the following error message:


C:\poolman-2.0.3\build>build
Buildfile: build.xml

init:

prepare:

compile:
[javac] Compiling 48 source files to C:\poolman-2.0.3\bin
[javac] Modern compiler is not available - using classic compiler

BUILD FAILED

C:\poolman-2.0.3\build\build.xml:49: 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: 1 second
C:\poolman-2.0.3\build>

when I do this:

C:\poolman-2.0.3\build>echo %JAVA_HOME%
C:\jdk1.3

C:\poolman-2.0.3\build>

Why is ant throwing up this message.

Thanks for any help Tony


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top