logo separator

[mkgmap-dev] Compiling Mkgmap failes

From Chris Miller chris.miller at kbcfp.com on Thu Dec 3 09:33:12 GMT 2009

That particular error is because you are using an old version of Java (v1.5 
or lower) to compile the code. You need Java 1.6. So as Valentijn has suggested, 
you still have another old version of Java lying around on your system somewhere 
that you should probably get rid of.

L> Ok, I finally got the correct search phrase and a suggestion
L> popped-up suggesting to install ecj. Well, who would have thought of
L> that... =-O
L> So, now the compiling starts but prints a whole lot of warnings and
L> one error then exits. Output is attached.
L> The single error is:
L> [javac] 7. ERROR in
L> /home/lambertus/garmin/test/mkgmap/src/uk/me/parabola/imgfmt/app/labe
L> lenc/DecodedText.ja
L> [javac] va (at line 42)
L> [javac]     text = new String(ba, 0, ba.length, charSet);
L> [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
L> [javac] The constructor String(byte[], int, int, Charset) is
L> undefined
L> Any ideas?

More information about the mkgmap-dev mailing list