java_leaflet icon indicating copy to clipboard operation
java_leaflet copied to clipboard

Is the 1.9.4 JAR lib compatible with JDK 1.8 ?

Open EmbGangsta opened this issue 1 year ago • 1 comments

I am trying to use your JLMAP .jar library as is without recompilation from the JAR files I got from the github page

I use netbeans IDE and compiling with JDK 1.8 and I get the infamous error at runtime :

warning: [options] bootstrap class path not set in conjunction with -source 1.7 D:\TestMapsInJavaFXPanel\src\testmapsinjavafxpanel\NewClass.java:8: error: cannot access JLMapView import io.github.makbn.jlmap.JLMapView; bad class file: D:\TestMapsInJavaFXPanel\lib\jlmap-1.9.4-jar-with-dependencies.jar(io/github/makbn/jlmap/JLMapView.class) class file has wrong version 61.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath. BUILD FAILED (total time: 0 seconds)

It seems your Jar need JDK 1.7 isnt it ?

EmbGangsta avatar Feb 07 '24 01:02 EmbGangsta

Hi @EmbGangsta, I'll look into this issue this weekend and will post an update here! thanks for sharing it.

makbn avatar Feb 07 '24 07:02 makbn

you need JDK +11 to run the current version of the project

makbn avatar Sep 16 '24 09:09 makbn