- Pentaho 5.0 Reporting by Example
- Mariano García Mattío Dario R. Bernabeu
- 396字
- 2021-08-13 16:24:32
Time for action – downloading, installing, and configuring PRD
We will download PRD from the SourceForge.net repositories, install PRD, and set your RAM:
- To download PRD, paste http://sourceforge.net/projects/pentaho/files/Report%20Designer/ in your web browser.
Different versions of PRD are stored here, each version in its own folder.
In the latest versions, we can recognize the type of content of the packages according to the following pattern:
prd-source-[version].zip
: This contains the PRD source codeprd-ce-[version].zip
: This contains the Windows distributionprd-ce-mac-[version].tar.gz
: This contains the Mac distributionprd-ce-[version].tar.gz
: This contains the Linux distribution
In our case, we download Version 5.0.0; therefore, in Linux environments, we should download the following file:
prd-ce-5.0.0.stable.tar.gz
And in Windows environments, we should download the following file:
prd-ce-5.0.0.stable.zip
- Now we will install PRD.
We choose a folder and unzip the file according to our operating system. As a result, we obtain a folder with the
report-designer
name. From here on, we will call the complete path to this folder[PRD_HOME]
.Note
As such, the location of the JDBC drivers is
[PRD_HOME]/lib/jdbc
. This is where we should copy the drivers for the JDBC data sources we want to connect to. Some drivers are included by default, for example, theHSQLDB
driver. A JDBC driver is a software component that allows a Java application to connect and interact with a database. A different implementation is required for each database to which we connect. - Next we will configure PRD.
We can assign more RAM to the PRD execution environment in the following way:
In Linux environments:
- Open a terminal and edit the
report-designer.sh
file:shell> gedit [PRD_HOME]/report-designer.sh
- Place the desired value in the following line:
"$_PENTAHO_JAVA" -XX:MaxPermSize=512m -jar "$DIR/launcher.jar" $@
For example:
"$_PENTAHO_JAVA" -XX:MaxPermSize=512m -Xmx768M -jar "$DIR/launcher.jar" $@
In Windows environments:
- Go to the
[PRD_HOME]
folder and edit thereport-designer.bat
file. - Place the desired value in the following line:
start "Pentaho Report Designer" "%_PENTAHO_JAVA%" -XX:MaxPermSize=256m -Xmx512M -jar "%~dp0launcher.jar" %*
For example:
start "Pentaho Report Designer" "%_PENTAHO_JAVA%" -XX:MaxPermSize=256m -Xmx768M -jar "%~dp0launcher.jar" %*
- Open a terminal and edit the
What just happened?
We downloaded PRD 5.0 from SourceForge.net, in accordance with our operating system, and we have learned about the pattern of names for various packages. We installed PRD, unzipping the respective package, and explained that the path where we should place the JDBC drives is [PRD_HOME]/lib/jdbc
. We also edited the PRD_HOME]/report-designer.[sh|bat]
file in order to explain how to assign more RAM to the PRD execution environment.
- InDesign CS6中文版基礎(chǔ)與實(shí)例教程
- 從原始數(shù)據(jù)到分析報(bào)告:Excel數(shù)據(jù)透視表高效達(dá)人養(yǎng)成記
- 快·易·通:2天學(xué)會(huì)Office辦公應(yīng)用(2016版)
- Word/Excel/PPT/PS/移動(dòng)辦公Office 5合1無師自通
- 金蝶ERP-K/3培訓(xùn)教程:財(cái)務(wù)/供應(yīng)鏈/生產(chǎn)制造(第2版)
- Excel 2016辦公應(yīng)用從入門到精通
- Excel公式與函數(shù)從入門到精通
- 新編Office 2013從入門到精通
- 高效隨身查:PPT2021必學(xué)的美化設(shè)計(jì)應(yīng)用技巧(視頻教學(xué)版)
- 電腦辦公(Windows 10 + Office 2016)入門與提高
- Learning AWS IoT
- Final Cut Pro X基礎(chǔ)培訓(xùn)教程
- 辦公自動(dòng)化教程(第2版)
- 情感化PPT設(shè)計(jì)(微視頻版)
- MATLAB及Mathematica軟件應(yīng)用