Linux"
From Documentation
m (→Jaspserreport) |
m (correct highlight (via JWB)) |
||
Line 3: | Line 3: | ||
=Chart and Captcha= | =Chart and Captcha= | ||
− | [[ZK Component Reference/Diagrams and Reports/Chart|Chart]] and [[ZK Component Reference/Essential Components/Captcha|Captcha]] depends on Java Swing. To make Swing works correctly under Linux, you have to install < | + | [[ZK Component Reference/Diagrams and Reports/Chart|Chart]] and [[ZK Component Reference/Essential Components/Captcha|Captcha]] depends on Java Swing. To make Swing works correctly under Linux, you have to install <code>openjdk-6-jre</code><ref>The default installation includes only <code>openjdk-6-jre-headless</code> and <code>openjdk-6-jre-lib</code>.</ref> |
<source lang="bash"> | <source lang="bash"> |
Latest revision as of 12:37, 19 January 2022
Here is the notes to set up the environment of Linux that some ZK components depends on.
Chart and Captcha
Chart and Captcha depends on Java Swing. To make Swing works correctly under Linux, you have to install openjdk-6-jre
[1]
sudo apt-get install openjdk-6-jre
sudo /etc/init.d/tomcat6 restart
- ↑ The default installation includes only
openjdk-6-jre-headless
andopenjdk-6-jre-lib
.
Jaspserreport
Jasperreprot is based on the JasperReports project. To make it run correctly under Linux, you have to make sure all fonts that you use are installed.
sudo aptitude install msttcorefonts
sudo /etc/init.d/tomcat6 restart
The procedure to install fonts might depend on the version you use. Please refer to this discussion for more information.
Version History
Version | Date | Content |
---|---|---|