Making Crashplan work on Ubuntu 12.04 LTS in 2015

It’s always nice to have a LTS version, but sometimes, software does lag behind. To wit, I noticed some complaints about failure to update in Crashplan (well, the failed updates filled up the filesystem…): it needed Java > 7, which of course wasn’t available.

Wed Nov 4 10:43:45 EST 2015 : JAVACOMMON is set: /usr/bin/java
Wed Nov 4 10:43:51 EST 2015 : Current Java Version: 1.6
Wed Nov 4 10:43:51 EST 2015 : This client requires one of these JREs: 1.7 1.8.  Exiting upgrade

I followed instructions at How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS, with the modification that I only installed the openjdk-8-jre-headless package, which greatly reduced the amount of dependencies (no graphics!). That might affect running Crashplan locally, but mostly, I connect to it remotely. So, we’ll see.

All in one place:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

I did not have to run the update-alternatives command, since that was already configured.