Who is this article for?
Code42 for Enterprise, yes.
CrashPlan for Small Business, no.
This article applies to on-premises authority servers.
If installing the Code42 server 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.
Code42 server versions 6.8.x and earlier on Linux devices using wget version 1.14 or earlier. To see what version of wget your system has, enter the command:
The Unable to download JRE error does not occur for Code42 server versions 7.0.0 and later because they bundle Java OpenJDK 11 with the installer. For Code42 server versions 6.8.x and earlier, the installers download the JRE.
To resolve this issue, follow the steps below:
To resolve the issue without updating wget, follow the steps below to manually retrieve the required JRE:
- Uninstall the Code42 server.
- Download the JRE 8, 64-bit.
- Move the JRE tarball into the Code42 server installation folder.
- Use the installer downloaded in step 1 to reinstall the Code42 server.
The Code42 server installer locates the JRE and installs successfully.
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 server update.