[mkgmap-dev] mkgmap does not compile with Java 8
From Michael Prinzinger email at mipri.de on Fri Jul 11 14:48:37 BST 2014
Hello, I hope this is not a FAQ, but I couldn't find an answer anywhere. When I am trying to compile mkgmap with java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) running on Windows 7 64 Bit, I get the following errors: compile: [javac] Compiling 480 source files to F:\mkgmap\trunk\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] F:\mkgmap\trunk\src\uk\me\parabola\util\MultiHashMap.java:57: error: name clash: remove(K,V) in MultiHashMap and remove(Object,Object) in HashMap have the same erasure, yet neither overrides the other [javac] public V remove(K key, V value ) [javac] ^ [javac] where K,V are type-variables: [javac] K extends Object declared in class MultiHashMap [javac] V extends Object declared in class MultiHashMap [javac] F:\mkgmap\trunk\src\uk\me\parabola\util\MultiIdentityHashMap.java:57: error: name clash: remove(K,V) in MultiIdentityHashMap and remove(Object,Object) in Map have the same erasure, yet neither overrides the other [javac] public V remove(K key, V value ) [javac] ^ [javac] where K,V are type-variables: [javac] K extends Object declared in class MultiIdentityHashMap [javac] V extends Object declared in class MultiIdentityHashMap [javac] Note: F:\mkgmap\trunk\src\uk\me\parabola\mkgmap\reader\dem\DEM.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 1 warning BUILD FAILED Is this a known problem? What can I do besides reverting to Java 7? Thank you, Michael
- Previous message: [mkgmap-dev] splitter: No solution found
- Next message: [mkgmap-dev] mkgmap does not compile with Java 8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list