[josm-dev] Plugins not working with 3094 and Linux ?
Karl Guggisberg
karl.guggisberg at guggis.ch
Tue Mar 9 20:18:46 GMT 2010
Hi,
> Do we have to modify the ant files and recompile all plugins for Java6 ?
the public build.xml for the JOSM core still compiles for Java 5 (both
source and target). So do the
build.xml for the plugins. Most of them have the property <property
name="ant.build.javac.target" value="1.5" />
set (cadastre_fr too).
Latest is still compiled for Java 1.5, as far as I can tell- the major
version of the class files is 49.
I don't know when the JOSM core is going to be compiled for Java 6. On
this list I have been reading
about plans to switch to Java 6 one or two weeks ago. Perhaps it has
been postponed by another month or two
in the meantime. Plugins should probably wait to compile for Java 6
until the JOSM core is available for Java 6.
Regards
Karl
Am 09.03.2010 12:39, schrieb Pieren:
> Hi,
>
> I received already two complains about 3094 and the cadastre-fr plugin not
> working on Linux (ubuntu or Debian Etch) with a java6 env.
>
> Exception is :
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
> at java.lang.ClassLoader.defineClass1(Native Method)
>
>
> Do we have to modify the ant files and recompile all plugins for Java6 ?
> Strange is that it works fine on Windows.
>
> Pieren
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>
>
More information about the josm-dev
mailing list