On Wed, 10 Mar 2010, Pieren 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.
Don't ask me. I'm no Java guru :-) Maybe you already use JAVA6 stuff in your plugin? E.g. isEmpty() in strings? Or we have such thing in JOSM core and didn't recognice it? Ciao -- http://www.dstoecker.eu/ (PGP key available) _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
