ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: ant1.5 and jdk1.3.1
Date Wed, 18 Sep 2002 14:29:53 GMT
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 <dmctavish@SANDVINE.com> 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:ext.focal.malaprade@sncf.fr]
> 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:dmctavish@SANDVINE.com]
> 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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message