You are running ant 1.5Beta1, I assume. The problem occurs because it was compiled using JDK 1.4 and you are perhaps running JDK 1.1.x on your Sun box. I am planning on building Beta2 such that it doesn't result in this problem.
Cheers, Magesh ----- Original Message ----- From: "Chris Schneider" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 3:33 PM Subject: Error loading class org.apache.tools.ant.Main: Bad major version number > Hi, > > I am getting this error when trying to run ant from a > Sun box. It works fine on Win2k. I can't even get a -v > or -debug statement. There must be a problem with the > setup - any help? > > Error loading class org.apache.tools.ant.Main: Bad > major version number > > Chris... > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>