I wrestled with this exact thing this week. For the benefit of people searching the archives, to force a 1.4-compatible JDK to be used by a 1.5 compiler you can use "-target 1.4 -source 1.4" on the javac command line, or for ant, "target='1.4' source='1.4' " in your javac task.
-ed On 3/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 3/14/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > Does anyone know what this message means? > > "class file has wrong version 49.0, should be 48.0" > > You're using JDK 1.4 and attempting to use a class that was compiled > for JDK 1.5 (or Java SE 5). > > -- > Wendy > \ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]