Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65722 invoked by uid 500); 12 Aug 2003 16:51:23 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 65659 invoked from network); 12 Aug 2003 16:51:23 -0000 Received: from gw5.aexp.com (205.138.230.82) by daedalus.apache.org with SMTP; 12 Aug 2003 16:51:23 -0000 Received: by gw5.aexp.com; id JAA10526; Tue, 12 Aug 2003 09:51:26 -0700 (MST) Received: from unknown(148.173.207.31) by gw5.aexp.com via smap (V5.5) id xmauh4240; Tue, 12 Aug 03 09:50:28 -0700 Received: from 148.173.241.49 by phxntpws04.ipc.us.aexp.com with ESMTP ( Tumbleweed MMS SMTP Relay (MMS v4.7);); Tue, 12 Aug 2003 09:50:27 -0700 X-Server-Uuid: c4b46b06-d9ff-11d5-aa32-0002a56b1a10 Subject: Problem with !! To: user@ant.apache.org From: "Radhakrishnan A Jankiraman" Date: Tue, 12 Aug 2003 22:23:13 +0630 Message-ID: X-MIMETrack: Serialize by Router on AXPOSMTP01/SVR/AEXP(5012HF37 | May 22, 2003) at 08/12/2003 09:41:14 AM MIME-Version: 1.0 X-WSS-ID: 1327C559364458-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm having trouble getting the javac task going. Herez what I'm trying to do -- This is the problem that I get when try to run ant with a demonstrative build file -- file:/home/rjanki/sewol.xml:46: 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 java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.lang.RuntimeException.(RuntimeException.java:47) at org.apache.tools.ant.BuildException.(BuildException.java:140) at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:110) at org.apache.tools.ant.taskdefs.Javac.compile(Compiled Code) at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code) at org.apache.tools.ant.Task.perform(Compiled Code) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.start(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:235) I'm trying to use the jdk that comes along ( <--not sure about this )with WebSphere 3.5.x. Herez what the java -version has to say -- java version "1.2.2" Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit) The ant -version gives me -- Apache Ant version 1.5.3 compiled on April 16 2003 I tried defining the JAVA_HOME to opt/WebSphere/AppServer/java ls opt/WebSphere/AppServer/java gives me bin include LICENSE.ps README.rmi-iiop COPYRIGHT jre LICENSE.TXT README.sparc demo lib man src.jar I have this jdk's bin in my PATH variable. I even tried the executable attribute in the javac task element. Still get the same problem. Am I missing something ? Or is this is some compiler compatability problem ? Thanks, Krish American Express made the following annotations on 08/12/2003 09:50:27 AM ------------------------------------------------------------------------------ ****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." ****************************************************************************** ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org