After upgrading to Mandrake Linux 9.1, I got the next errors when compiling, but only with one account on my machine:
[javac] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null The problem seems to come from some bad locale related to UTF-8, or unknown locale,.. I first solved it (a bit radically) by running the following script, which empties every variable having a reference to ‘UTF-8′:
for i in $( set | grep UTF-8 | cut -f1 -d= ) ; do export $i=; done
This completely removes any locale information from the system.
The proper way to change that is to edit the file ~/.i18n. You can find here the content of my new ~/.i18n, which solves nicely the problem.