How to add a TrueType font to Java

How to add a TrueType font to Java


To add a TrueType font to Java, just put the .TTF file in the /usr/java/jre/lib/fonts directory.

Note: you may need to restart the JVM to see it