Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

All fonts in java applications look horrible. I have seen a few questions about this previously, but they are quite old now (11.04 was the most recent, but that didn't seem to be the same problem). For some reason java applications do not use the system font (Ubuntu 11), but rather some elongated font that doesn't seem to have any anti-aliasing. So what I'm asking is if this is an open bug (couldn't find any on launchpad), something the developers have done wrong, or if there is a way to configure the fonts used in java application. Perhaps this is just a shortcoming of openjdk and I should install the Sun/Oracle version instead?

Following is an image of jitsi, but the problem is also present in minecraft, my internet-bank and anything else involving java. I'm on 12.04, but since I couldn't find anything on launchpad I'm assuming that isn't relevant.

picture of jitsi

share|improve this question
Open jdk have some problemw with fonts ,installing sun/oracle jdk may fix this –  Tachyons Mar 28 '12 at 17:16
Ok. I'll try that now :) –  Eirik Berg Mar 28 '12 at 17:20
Installing the closed source java is okay, but try it with the 'Duinsoft' way. It's an automated installer :) –  tiempjuuh Mar 28 '12 at 17:31

1 Answer 1

I haven't test it but according to this forum post at you can correct it by installing the fonts:

sudo apt-get install msttcorefonts

and changing lucidasans for arial in the properties of Java fonts:

sudo nano /usr/lib/jvm/java-6-sun/jre/lib/

There's also some useful links you can find at this StackOverflow question.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.