On Sep 12, 2007, at 11:58 AM, Joel Uckelman wrote:

> Thus spake Thomas Russ:
>>
>> On Sep 11, 2007, at 6:42 PM, b5mith wrote:
>>
>>> But Joel it doesn't work with your version of Vengine.jar.  This is
>>> the exception:
>>>
>>> Exception in thread "main"  
>>> java.lang.UnsupportedClassVersionError: Bad
>>> version n
>>> umber in .class file
>>
>> Hmmm.  That's from a Java version mismatch.
>>
>> Since a previous message indicated you are running Java 1.5, it
>> sounds like Joel's was compiled with Java 1.6 instead,
>
> I am compiling with 1.6, but I'm using the "-source 5" flag. The  
> exception
> doesn't seem to say which class is the problem. How can I resolve  
> this?

You also need to set the "-target 5" flag, otherwise it takes 1.5 source
and produces 1.6 class files.



Reply via email to