1 Reply Latest reply on Aug 30, 2004 7:38 PM by 843810

    error: compiler message file broken: key=compiler.err.sun.io.MalformedInput

      For those of you who ever got this one while invoking javac an a fully compliant java source file, it comes from the encoding of the source not being the one used by your compiler. For example, compiling a source file with comment written in french (and so french special chars) and compiling it under an OS being in US ASCII by default.

      The solution is to provide the encoding to use on the command line, like this:
      US-prompt> javac -encoding ISO-8859-15 MyFrenchFile.java

      I thought it may help :)