Andres, i think u can not have both ant installations at the same time. to run the new installation remove the previouse ant installations.Try this out and there is a guide line for this in the and FAQ on this error. check that out as well.
i hope this will help u. tharanga bandara ([EMAIL PROTECTED]) On Tue, 2005-05-17 at 12:36, Santosh Samudrala wrote: > I did't work on xp, but it is working fine on win2000. > > as u said u deployed on weblogic here i am getting problem while deploying > .ear file in jboss,' > can u plz. guide us in these regards, > > santosh > Hyderabad. INDIA > > "Andreas Bothner [ MTN - Innovation Centre ]" <[EMAIL PROTECTED]> wrote: > Hi, > > Here are my CLASSPATH, PATH and ANT_HOME variables: > CLASSPATH=D:\wls\config;C:\bea\weblogic81\server\lib\weblogic.jar;C:/bea/jdk142_04\lib\tools.jar;D:\java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar;.;C:\bea\weblogic81\server\ext\jdbc\oracle\920\ojd > bc14_g.jar;D:\Projects\java\MTN\setup\db\ifxjdbc.jar;D:\Projects\java\MTN\lib\exceptions.jar;D:\Projects\java\MTN\lib\security.jar;D:\Projects\java\MTN\lib\utils.jar;D:\java\commons-codec-1.2\commons-codec-1.2.jar;D:\java\junit3.8.1\junit.jar > > PATH=D:\java\apache-ant-1.6.3\bin;C:/bea/jdk142_04\bin;D:\Oracle\product\10.1.0\Client_1\bin;D:\Orac > le\product\10.1.0\Client_1\jre\1.4.2\bin\client;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\PROGRAM > > FILES\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program > Files\ATI Technologies\ATI Control Panel;C:\Program Files\PC-Doctor for > Windows\services;D:\Apps\Rational\ClearCase\bin;D:\Apps\Rational\common;D:\oracle\ora92\bin; > > D:\>set ANT_HOME=D:\java\apache-ant-1.6.3 > > D:\>D:\java\apache-ant-1.6.3\bin\ant > java.lang.InstantiationException: org.apache.tools.ant.Main > at java.lang.Class.newInstance0(Class.java:293) > at java.lang.Class.newInstance(Class.java:261) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:245) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, 09 May 2005 11:48 > To: user@ant.apache.org > Subject: AW: InstantiationException using ant.bat > > What is your PATH, CLASSPATH and ANT_HOME? > > Jan > > > -----UrsprÃngliche Nachricht----- > > Von: Andreas Bothner [ MTN - Innovation Centre ] > > [mailto:[EMAIL PROTECTED] > > Gesendet am: Montag, 9. Mai 2005 11:43 > > An: user@ant.apache.org > > Betreff: InstantiationException using ant.bat > > > > > > Hi, > > > > I extracted ANT 1.6.2 on Windows XP Professional with JDK 1.4.2_05. > > > > D:\>ant > > java.lang.InstantiationException: org.apache.tools.ant.Main > > at java.lang.Class.newInstance0(Class.java:293) > > at java.lang.Class.newInstance(Class.java:261) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:245) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > > > > I then deleted the ANT 1.6.2 folder and extracted ANT 1.6.3 with the > > same exception when I ran it. > > > > However, I also have version 1.5.3 of ANT that was installed > > as part of > > the BEA Weblogic 8.1 installation, and this works fine from > > the command > > line. > > > > What is the problem? > > > > Regards, > > Andreas > > > > > > NOTE: This e-mail message is subject to the MTN Group > > disclaimer see http://www.mtn.co.za/default.aspx?pid=34411 > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > NOTE: This e-mail message is subject to the MTN Group disclaimer see > http://www.mtn.co.za/default.aspx?pid=34411 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------- > Discover Yahoo! > Stay in touch with email, IM, photo sharing & more. Check it out! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]