BTW, JDK 7 doesn't actually read fontconfig.properties any more (the automatic configuration via libfontconfig is preferred). The fontconfig.properties installed in /etc/java-7-openjdk already has the proper fonts and paths for Ubuntu but it's unused!
If you make a symlink with a more specific name like this:
BTW, JDK 7 doesn't actually read fontconfig. properties any more (the automatic configuration via libfontconfig is preferred). The fontconfig. properties installed in /etc/java-7-openjdk already has the proper fonts and paths for Ubuntu but it's unused!
If you make a symlink with a more specific name like this:
sudo ln -s /etc/java- 7-openjdk/ fontconfig. properties /usr/lib/ jvm/java- 7-openjdk- amd64/jre/ lib/fontconfig. Ubuntu. properties
then it does get read. So that's an easy way to work around this bug. (Same for Oracle JDK 7, with paths adjusted appropriately.)