ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boro Nikic (QMP)" <Boro.Ni...@emp.ericsson.se>
Subject Cannot use classic compiler
Date Thu, 05 Sep 2002 10:50:42 GMT
I'm running eclipse and when i try to run my ant file i get:
The same file works when run from a command prompt.

Modern compiler is not available - using classic compiler
Compiling 3 source files to C:\development\projects\java\fido\build
Build exception: K:\QBORONI_fido_client_r2a_mnt\LD_Tools\crh109289_fido\source\build.xml:204:
Cannot use classic compiler, as it is not available A common solution is to set the environment
variable JAVA_HOME to your jdk directory.
Build exception: K:\QBORONI_fido_client_r2a_mnt\LD_Tools\crh109289_fido\source\build.xml:204:
Cannot use classic compiler, as it is not available A common solution is to set the environment
variable JAVA_HOME to your jdk directory.
K:\QBORONI_fido_client_r2a_mnt\LD_Tools\crh109289_fido\source\build.xml:204: Cannot use classic
compiler, as it is not available A common solution is to set the environment variable JAVA_HOME
to your jdk directory.
	at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:96)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:557)
	at org.apache.tools.ant.Task.perform(Task.java:217)
	at org.apache.tools.ant.Target.execute(Target.java:184)
	at org.apache.tools.ant.Target.performTasks(Target.java:202)
	at org.apache.tools.ant.Project.executeTarget(Project.java:601)
	at org.apache.tools.ant.Project.executeTargets(Project.java:560)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:262)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:233)
	at org.eclipse.ui.externaltools.internal.core.AntFileRunner.execute(AntFileRunner.java:59)
	at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.executeRunner(DefaultRunnerContext.java:413)
	at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.run(DefaultRunnerContext.java:464)
	at org.eclipse.ui.externaltools.internal.ui.AntLaunchWizard$1.run(AntLaunchWizard.java:117)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
Build exception: K:\QBORONI_fido_client_r2a_mnt\LD_Tools\crh109289_fido\source\build.xml:204:
Cannot use classic compiler, as it is not available A common solution is to set the environment
variable JAVA_HOME to your jdk directory.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message