Install and configure Jasper Report Server on Ubuntu Server

Contents hide 1 Install and configure Jasper Report Server on Ubuntu Server 2 (Configuring through terminal/putty) 3 Type the below command to start the download Install and configure Jasper...

Install and configure Jasper Report Server on Ubuntu Server

(Configuring through terminal/putty)

Type the below command to start the download

$ wget -c

Give permission to run as super user

$ chmod a+x

To start the Jasper server installation

$ sudo ./

It will show you the license page. Read through it and select y when it prompts

Do you accept this license? [y/n]: y shows up.

It will ask to choose complete install or custom install. Choose custom.

It will ask to select a folder for install destination.

choose the default /opt/jasperreports-server-cp-5.6.0.

It will ask you to use bundled tomcat or existing one. Choose bundled.

Leave the tomcat port as default else assign one like – 8088

Assign one shutdown port as – 8089

Choose Postgresql as Bundled and default port as – 5432

Choose to create sample database and proceed

Now after Jasper Server installation lets start Tomcat server

$ /opt/jasperreports-server-cp-5.6.0/ start

Setup plsql query adapter
Download extensions for jasperreports-extension

$ wget -c


sudo unzip

Copy the jasperreports-extensions-3.5.3.jar inside this folder /opt/jasperreports-server-cp-

Now cd /opt/jasperreports-server-cp-5.6.0/apache-tomcat/webapps/jasperserver/WEB-INF
and add one line to classes/

$ sudo vi classes/

Then edit flows/queryBeans.xml. Change the line

<property name="queryLanguages" ref="queryLanguages">

Then edit applicationContext.xml. Search for supportedQueryLanguages and add these to the following for PL/SQL Language. You will find supportedQueryLanguages in two places so add the below lines twice.


Now finally restart the Jasper Server.

$ /opt/jasperreports-server-cp-5.6.0/ stop
$ /opt/jasperreports-server-cp-5.6.0/ start

You may also like: ssh exchange identification connection closed by remote host

I am a proud Indian, proud father, a blogger, Being in a profession as System administrator, my passion is troubleshooting computer issues, I do like sharing solutions through blogging making videos of solving issues.
16 Comments on this post.
  • dilip
    20 January 2016 at 12:55 pm
    Leave a Reply

    I am trying to install jasperreport in unattended mode but facing some postgres issues. Can you please help

    • durga
      21 January 2016 at 4:57 am
      Leave a Reply

      Hi Dillip,
      Will surely help you configuring Jasper Report here… Please do share the error and uptil which command you have tried and successful.


  • fayssel yabahddou
    1 September 2016 at 11:43 am
    Leave a Reply

    hi Durga , can a integrate jasper report server with openNMS

  • rajasekar
    3 June 2017 at 12:17 pm
    Leave a Reply

    LATEST VERSION java ,postgres, tomcat version list and how to install methode

  • venkata
    18 October 2017 at 3:11 am
    Leave a Reply

    Hi Durga,

    is it really necessary to install tomcat , prior to installing, as I have a tomcat installed on 8080, and when I ran this it again asked me for port then I gave 8081. now which one will the jasper use.


    • Durga Charan Ojha
      23 October 2017 at 6:46 pm
      Leave a Reply

      Hi Venkata, Jasper report with Tomcat bundled will install Tomcat.. if you have already installed then you can skip installing it. I would suggest to go with bundled one comes with Jasper report.


  • krishna
    22 November 2017 at 7:43 pm
    Leave a Reply

    Hi could you please provide ur contact number. I have some doubts in Jasper report software installtion in Linux using putty.

    • Durga Charan Ojha
      23 November 2017 at 3:44 pm
      Leave a Reply

      Hi Krishna,
      Got your number in mail ..will call you asap.


  • Titto Xavier
    30 January 2018 at 10:06 pm
    Leave a Reply

    I got a warning “problem running post-installation step. Installation may not complete correctly ” as a prompt.
    So I can’t get the url “http:localhost:port/”

    • Durga Charan Ojha
      30 January 2018 at 10:55 pm
      Leave a Reply

      Hi Titto Xavier
      Can you please share more details. screenshot of the error also will help me to get the solution.

  • Soumya
    15 February 2019 at 9:29 pm
    Leave a Reply

    Hi Durga,

    Could you please share me the steps to install Jasper server only with Oracle database.


  • Malavika
    6 August 2019 at 10:04 am
    Leave a Reply

    sudo ./
    ./ 1: ./ Syntax error: “(” unexpected

    Some Error, please help

    • Durga Charan Ojha
      6 August 2019 at 10:56 am
      Leave a Reply

      Hi Malavika,
      Will you please let me know the Ubuntu version ?

    Leave a Reply