[josm-dev] Plugins not working with 3094 and Linux ?

Pieren pieren3 at gmail.com
Wed Mar 10 10:08:24 GMT 2010


On Wed, Mar 10, 2010 at 10:40 AM, Dirk Stöcker
<openstreetmap at dstoecker.de>wrote:

>
> JOSM core is already compiled using JAVA6, but still using JAVA5 as
> target.
>
>
Is it the reason why the plugins compiled with Java5 raises this exception
on some platforms ?

Exception is :
java.lang.
UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)

Anyway, I recompiled my plugin with java6 and it seems to work now.

Pieren



More information about the josm-dev mailing list