If my suggestion helped I'm glad, but I made sure my installation was compiled under 1.4, then ran a build under 1.3, and it worked. So maybe only certain Ant classes, which I never loaded, have that problem.
-Matt --- David McTavish <[EMAIL PROTECTED]> wrote: > Thanks to Matt... The problem was that Ant needed to > be recompiled under > JDK1.3 > > d. > > -----Original Message----- > From: EXT / FOCAL MALAPRADE Roland > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 10:18 AM > To: 'Ant Users List' > Subject: RE: ant1.5 and jdk1.3.1 > > > Maybe you should run a "clean" before recompiling > there could be .class files already compiled on > JDK1.4, and when you > recompile, maybe Javac thinks the file is up to > date, but it can't load it. > > I'm not so sure about it, so test and see. > > Roland. > > -----Message d'origine----- > De : David McTavish [mailto:[EMAIL PROTECTED]] > Envoy� : mercredi 18 septembre 2002 16:10 > � : 'Ant Users List' > Objet : ant1.5 and jdk1.3.1 > > > > Here's my problem. Our build scripts worked > perfectly yesterday when we were > running on JDK1.4 with Ant1.5. Now, we have to roll > back to jdk1.3.1 so that > our app can run on FreeBSD. No problem, we've rolled > back the code base so > we're not using any JDK1.4 goodies, and everything > should be fine and dandy. > Unfortunately not so... now, when I run the compile > target of my build > script I get the following error: > > compile.impl: > [javac] Compiling 20 source files to > M:\dmctavish_jdk13\sw\application\util\ > classes > > BUILD FAILED > java.lang.UnsupportedClassVersionError: > com/sun/tools/javac/Main > (Unsupported ma > jor.minor version 48.0) > at java.lang.ClassLoader.defineClass0(Native > Method) > at > java.lang.ClassLoader.defineClass(ClassLoader.java:488) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) > > > I've truncated it as you get the idea. > This chokes on the very first file it attempts to > compile. Any ideas would > be greatly appreciated. > > d. > > -- > 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]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
