Linux"
From Documentation
m (→Jaspserreport) |
m (correct highlight (via JWB)) |
||
(3 intermediate revisions by one other user not shown) | |||
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"> | ||
− | + | sudo apt-get install openjdk-6-jre | |
− | + | sudo /etc/init.d/tomcat6 restart | |
</source> | </source> | ||
Line 17: | Line 17: | ||
=Jaspserreport= | =Jaspserreport= | ||
− | [[ZK Component Reference/Diagrams and Reports/Jasperreport|Jasperreprot]] is based on [http://jasperforge.org/projects/jasperreports the JasperReports project | + | [[ZK Component Reference/Diagrams and Reports/Jasperreport|Jasperreprot]] is based on [http://jasperforge.org/projects/jasperreports the JasperReports project]. To make it run correctly under Linux, you have to make sure all fonts that you use are installed. |
<source lang="bash"> | <source lang="bash"> | ||
Line 23: | Line 23: | ||
sudo /etc/init.d/tomcat6 restart | sudo /etc/init.d/tomcat6 restart | ||
</source> | </source> | ||
+ | |||
+ | The procedure to install fonts might depend on the version you use. Please refer to [http://stackoverflow.com/questions/3218732/jasper-reports-pdf-generation-issue this discussion] for more information. | ||
=Version History= | =Version History= |
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 |
---|---|---|