How can I install FamilySearch Indexing on Ubuntu 16.04? When running the installation script found at https://indexing.familysearch.org/downloads/Indexing_unix.sh the prompt says that Java 1.6 is required, but openjdk-6-jre is deprecated? Is it possible to install with a newer version of Java?
I documented my attempt in Family Search for Linux patch set for any JVM ≥ 1.6 :
Family Search for Linux patch set for any JVM ≥ 1.6
You can install all of the following packages with a single
apt installcommand. I just listed them here separately to explain each of them.
A Java runtime environment of at least version 1.6. On Debian you can install one like this:
sudo apt install default-jre
According to Getting FamilySearch Indexing to work in Ubuntu 14.04 you also need a few shared libraries:
sudo apt install libgtk2.0-0:i386 libxtst6:i386 libxtst6:i386 libx11-dev:i386 libz1:i386 libncurses5:i386 libbz2-1.0:i386 libxi6 libxtst6 libxrender1
They were already installed on my system so I haven't tested the veracity of that claim.
sudo apt install wget patch
Download the Unix installer.
wget -c https://indexing.familysearch.org/downloads/Indexing_unix.sh
Download the patch set.
wget https://gist.githubusercontent.com/davidfoerster/a7eb57becee7d5c44a3f5d9df89e2a78/raw/Indexing_unix.sh.patch https://gist.githubusercontent.com/davidfoerster/a7eb57becee7d5c44a3f5d9df89e2a78/raw/indexing.patch
Patch the installer.
patch -b Indexing_unix.sh < Indexing_unix.sh.patch
Run the installer.
Patch the installed application.
patch -p2 -d ~/.FamilySearchIndexing < indexing.patch
… and you're good to go.
Tested with OpenJDK 1.8 on Ubuntu 14.04.