Skip to main content
Code42 Support

Linux Code42 app unable to download JRE

Available in:

StandardPremiumEnterprise
Small Business
Applies to:

Overview

If installing the Code42 app on Linux fails and displays the message Unable to download JRE; please check network connection, the cause may be an old version of wget. The installer uses wget to download a compatible version of the JRE from Code42. Wget versions 1.14 and earlier do not support Server Name Indication (SNI), which is required to connect to Code42's download server.

Affects

Code42 app on Linux devices using wget version 1.14 or earlier. To see what version of wget your system has, enter the command: wget -V

Recommended solution

To resolve this issue, follow the steps below:

  1. Update your version of wget to at least version 1.15 using your package manager. Depending on your Linux distribution, you might use one of these commands:
    • sudo apt-get install wget (Ubuntu)
    • sudo yum upgrade wget (Red Hat)
  2. Uninstall and reinstall your Code42 app.

Alternative solution

To resolve the issue without updating wget, follow the steps below to manually retrieve the required JRE:

  1. Uninstall the Code42 app.
  2. Download the JRE 8, 64-bit.
  3. Move the JRE tarball into the installation folder.
    • By default: ~/Downloads/crashplan-install/
  4. Use the installer downloaded in step 1 to reinstall the Code42 app.
    The Code42 app installer locates the JRE and installs successfully.
Update wget
The core problem is with older versions of wget, so if you follow the alternative solution without updating wget, you'll need to do this again the next time there's a Code42 app update.