On 29.04.2021 19:50, Michaud Michael wrote:
> Absolutely not,
>
> Sorry for the noise, I wonder how I could test the extension without noticing 
> that.

sure, just build/run it with a java8 during development ;)

> Seems that jgrapht switched to java 11 after version 1.4.
>
> I will downgrade the dependency.

inelegant, but except for recompiling it ourselfs i see no other solution as 
well

> Anyway, I was surprised to find no information about the java compile-version 
> in maven. Do you know if there is a maven way to prevent this kind of mistake 
> ?

it's no interest to maven as long as you use a jre that can interpret the 
bytecode. so again, to be sure build with the lowest jre version that you want 
to support. not sure there is some switch to 'emulate' it. you can run test 
against any jre version you want though.

regards ..ede

>
> Michaël
>
>
>> envoyé : 29 avril 2021 à 16:33
>> de : edgar.sol...@web.de
>> à : jump devel <jump-pilot-devel@lists.sourceforge.net>
>> objet : [JPP-Devel] GraphExtension not compiled for java8
>>
>>
>> hey Mike,
>>
>> did we raise requirements above java8 already? see below.. ede
>>
>> [ERROR] 2021-04-29_16:29:00.498 org/jgrapht/graph/Pseudograph has been 
>> compiled by a more recent version of the Java Runtime (class file version 
>> 55.0), this version of the Java Runtime only recognizes class file versions 
>> up to 52.0 java.lang.UnsupportedClassVersionError: 
>> org/jgrapht/graph/Pseudograph has been compiled by a more recent version of 
>> the Java Runtime (class file version 55.0), this version of the Java Runtime 
>> only recognizes class file versions up to 52.0 at 
>> java.lang.ClassLoader.defineClass1(Native Method) at 
>> java.lang.ClassLoader.defineClass(Unknown Source) at 
>> java.security.SecureClassLoader.defineClass(Unknown Source) at 
>> java.net.URLClassLoader.defineClass(Unknown Source) at 
>> java.net.URLClassLoader.access$100(Unknown Source) at 
>> java.net.URLClassLoader$1.run(Unknown Source) at 
>> java.net.URLClassLoader$1.run(Unknown Source) at 
>> java.security.AccessController.doPrivileged(Native Method) at 
>> java.net.URLClassLoader.findClass(Unknown Source) at
>> com.vividsolutions.jump.workbench.plugin.PlugInClassLoader.loadClass(PlugInClassLoader.java:72)
>>  at 
>> fr.michaelm.jump.plugin.graph.GraphExtension.configure(GraphExtension.java:95)
>>  at 
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:209)
>>  at 
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:189)
>>  at 
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:449) 
>> at 
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:384) 
>> [INFO] 2021-04-29_16:29:00.504 fr.michaelm.jump.plugin.graph.GraphExtension 
>> konnte nicht initialisiert werden
>>
>> Java Version: Java HotSpot(TM) Client VM 1.8.0_261 (x86)
>> Betriebssystem: Windows 10 (10.0)
>> maximaler Speicher: 1.037.959.167 bytes (989,9 MiB)
>> Speicher gesamt: 119.181.312 bytes (113,7 MiB)
>> verwendeter Speicher: 65.961.016 bytes (62,9 MiB)
>> Arbeitsverzeichnis: C:\Users\ed\Desktop\20210429-4855(a233da5)-PLUS
>>
>>
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to