<Javac>: Modern compiler is not available
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexander_Scherbakov
Posted On:   Sunday, May 26, 2002 07:31 PM

I am trying to do When I run ant -verbose -buildfile c:aigerScripts estJav a.xml I got Ant version 1.3 compiled on May 11 2001 Detected Java Version: 1.3 Detected OS: Windows 2000 parsing buildfile c:aigerScripts estJava.xml with URI = file:c:/aiger/Scripts/testJava.xml ... [javac] Modern compiler is not available - using classic compiler [javac] Compiling 6 source files to C:aigerScriptsclassesldapDataImport [javac] Using classic compiler [javac] Compilation args: -d C:aigerScriptsclassesldapDataImport -classpath C:aigerScriptsclassesldapDataImport;C:jdk1.3.1_03lib    More>>


I am trying to do


When I run

ant -verbose -buildfile c:aigerScripts estJav
a.xml


I got


Ant version 1.3 compiled on May 11 2001

Detected Java Version: 1.3

Detected OS: Windows 2000

parsing buildfile c:aigerScripts estJava.xml
with URI = file:c:/aiger/Scripts/testJava.xml

...

[javac] Modern compiler is not available - using classic compiler

[javac] Compiling 6 source files to C:aigerScriptsclassesldapDataImport

[javac] Using classic compiler

[javac] Compilation args: -d C:aigerScriptsclassesldapDataImport -classpath C:aigerScriptsclassesldapDataImport;C:jdk1.3.1_03lib
ools.jar;C:AntlibxmlParserAPIs.jar;C:AntlibxercesImpl.jar;C:Antlibopt
ional.jar;C:Antlibant.jar;C:aigerScripts;C:WINNTjavaclasses;C:
Antlib
-sourcepath C:aigerScripts
untime_srcldapDataImport -g -ver
bose

[javac] Files to be compiled:

C:aigerScripts
untime_srcldapDataImportBasicTable.java

C:aigerScripts
untime_srcldapDataImportDBAccess.java

C:aigerScripts
untime_srcldapDataImportImportParameters.java

C:aigerScripts
untime_srcldapDataImportLdapDataImport.java

C:aigerScripts
untime_srcldapDataImportLdapObject.java

C:aigerScripts
untime_srcldapDataImportMember.java


BUILD FAILED


c:aigerScripts estJava.xml:29: Cannot use
classic compiler, as it is

not available A common solution is to set the environment
variable JAVA_HOME to
your jdk directory.





My JAVA_HOME and ANT_HOME variables are set correctly:
JAVA_HOME=C:JDK1.3.1_03
ANT_HOME=C:Ant


I would be most grateful to anyone who can tell me what is going on. I am confused.

   <<Less

Re: &lt;Javac&gt;: Modern compiler is not available

Posted By:   Erik_Hatcher  
Posted On:   Friday, June 7, 2002 12:46 PM

Ant version 1.3 - wow. Time to upgrade! Get Ant 1.5 and give it a try.
About | Sitemap | Contact