ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Bothner [ MTN - Innovation Centre ]" <Bothn...@mtn.co.za>
Subject InstantiationException using ant.bat
Date Mon, 09 May 2005 09:42:48 GMT

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message