相关疑难解决方法(0)

使用Jasper Reports的JVM无法使用Font

我正在尝试使用DynamicJasper生成报告,但是我收到以下错误:

net.sf.jasperreports.engine.util.JRFontNotFoundException:  
                                 Font 'Arial' is not available to the JVM.   
Run Code Online (Sandbox Code Playgroud)

安装了msttcorefonts,但我猜JVM没有使用它的任何字体.

我正在使用Ubuntu 10.04.

我怎样才能解决这个问题?

jvm jasper-reports ubuntu-10.04 dynamic-jasper

82
推荐指数
8
解决办法
19万
查看次数