How to install JasperPHP in Ubuntu

  1. Install tomcat
    $ sudo apt-get install tomcat7

    Once we installed tomcat we can go to http://localhost:8080 and we have to see this:


  2. Download JavaBridge
    Go to and download the JavaBridge.war file, this war file is in a zip that it’s called to deploy it in Tomcat.
  3. Deploy JavaBridge.war
    Copy the JavaBridge.war file to /var/lib/tomcat7/webapps

    $ sudo cp JavaBridge.war /var/lib/tomcat7/webapps/

    Once this is deployed you will see a new Directory in /var/lib/tomcat7/webapps/:
    Then when you go to http://localhost:8080/JavaBridge you will see the following tests:

  4. Modify your php.ini
    If you do not have it, just add it.