Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to run a bundled installer for TIBCO JasperReports®​​​​​​​ Server in macOS 10.15 Catalina


    kkumlien
    • Product: JasperReports® Server

    Problem

    When running a bundled installer for TIBCO JasperReports® Server on macOS 10.15 Catalina, the installer fails silently or presents one of the messages below.

    PLEASE NOTE: Catalina is not officially supported (certified) on JasperReports® Server 7.5.0 and earlier versions.

    If you are concerned with getting support from TIBCO, please choose version 7.5.1, 7.8.0 or later.

    See New Features in 7.8.0: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-release-notes/v780/new-features

    We use TIBCO JasperReports® Server Community Edition 7.2.0 in this example, but this should be applicable to other editions or versions that are impacted.

    Messages

    “TIB_js-jrs-cp_7.2.0_macosx_x86_64.app” cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

    $ open TIB_js-jrs-cp_7.2.0_macosx_x86_64.appLSOpenURLsWithRole() failed with error -10810 for the file .../TIB_js-jrs-cp_7.2.0_macosx_x86_64.app.$ ./TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/installbuilder.sh./TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/installbuilder.sh: line 18: ./TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/osx-intel: Bad CPU type in executable[/code]

    Each message will vary slightly depending on the edition / version.


    Solution

    Assuming you have obtained the installer from a trusted source, such as a tibco.com or jaspersoft.com website, first thing you need to enable the installer by going to System Preferences > Security & Privacy > then (if you see the message "“TIB_js-jrs...x86_64.app” was blocked from use [...]" or similar) click on Open Anyway.

    It will ask you again "macOS cannot verify the developer of “TIB_js-jrs-cp_7.2.0_macosx_x86_64.app”. Are you sure you want to open it?" > click Open.

    1. The bundled installer is based on the BitRock™ InstallBuilder™, which has added Catalina support in a recent release, see https://installbuilder.bitrock.com/changelog.html.

       

      Download one of those recent releases, such as https://installbuilder.bitrock.com/installbuilder-19.10.0-osx-installer.dmg

    2. Extract the app bundle from the dmg file: e.g. open the dmg file, then drag the app file from there and drop to a local directory

    3. Copy the binary file and related .dat file from the InstallBuilder app into the JasperReports Server app and overwite the files there. For example:

      $ cp installbuilder-19.10.0-osx-installer.app/Contents/MacOS/osx-x86_64 TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/osx-intel[/code]

      and:

      $ cp installbuilder-19.10.0-osx-installer.app/Contents/Resources/osx-x86_64.dat TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/Resources/osx-intel.dat[/code]
    4. Now you should be able to run the installer normally
    5. If you're unable to accept the License Agreement because the button is not visible, cancel and run the installer from the command line. See the help:

      $ ./TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/installbuilder.sh --helpJasperReports Server CP 7.2.0 7.2.0Usage: --help                                           Display the list of valid options --version                                        Display product information --unattendedmodeui <unattendedmodeui>            Unattended Mode UI                                                  Default: none                                                  Allowed: none minimal minimalWithDialogs[...] --jasperLicenseAccepted <jasperLicenseAccepted>  Do you accept this license?                                                  Default:[...][/code]
    6. Then run it this way to accept the license automatically:

      $ ./TIB_js-jrs-cp_7.2.0_macosx_x86_64.app/Contents/MacOS/installbuilder.sh --jasperLicenseAccepted true[/code]

      Just click Next at the License Agreement screen and it should continue.


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...