Comment 44 for bug 937200

Pascal Mons (anton+) wrote :

@blackslad & Nick B: Thanks. That worked :) However you do not need to have java-6-sun installed.

I just downloaded the latest Oracle update for Java 6 : jdk-6u43-linux-x64.bin from their website
http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html

Then just make it executable and extract it in a local folder like Downloads

$ chmod +x jdk-6u43-linux-x64.bin
$ ./jdk-6u43-linux-x64.bin

Then copy the 2 files to the working Java 7 installation

$ sudo cp ~/Downloads/jdk1.6.0_41/jre/lib/fontconfig.Ubuntu.* /usr/lib/jvm/java-7-oracle/jre/lib/

That fixed the flaw instantly. Obviously you should keep these 2 files as you will need them each time you update your Oracle Java.

fontconfig.Ubuntu.bfc
fontconfig.Ubuntu.properties.src

It looks like Oracle only keeped the fontconfig for the Red Hat based (rpm) distributions and bumped the only Debian [Ubuntu]. Their own Linux version being Red Hat based (rpm).