Font is not available to the JVM with Jasper Reports -
i'm trying generate report dynamicjasper, i'm getting following error:
net.sf.jasperreports.engine.util.jrfontnotfoundexception: font 'arial' not available jvm.
msttcorefonts installed, guess jvm not using fonts it. i'm using ubuntu 10.04. how can fix this?
i tried installing mscorefonts, package installed , up-to-date.
sudo apt-get update sudo apt-get install ttf-mscorefonts-installer
i tried searching font in filesystem, with:
ls /usr/share/fonts/truetype/msttcorefonts/
this folder had readme, correct instructions on how install.
cat /usr/share/fonts/truetype/msttcorefonts/readme
you need internet connection this:
sudo apt-get install --reinstall ttf-mscorefonts-installer
i re-installed ttf-mscorefonts-installer
(as shown above, making sure accept eula!) , problem solved.
Comments
Post a Comment