We recognize that there are different ways to set up a workspace and different tools that may be chosen.
Java
Download the latest Java 8 SE Development Kit from Oracle. Select a Linux x64 package.
Unpack it.
Maven
Download an Apache Maven 3.3.9 binary. NOTE: 3.3.9 is the recommended version, even though much higher versions are available.
Unpack it.
Eclipse
Download Eclipse for Linux. Select the 64-bit Eclipse IDE for Java EE Developers. Oxygen seems to be the latest version. These instructions were written for Neon.
Unpack it.
If you are behind a corporate firewall, set proxy environment variables needed in the next step by add-apt-repository:
export http_proxy="http://proxyhost:port"
export https_proxy="http://proxyhost:port"
Set up repository so you can get Oracle's JDK:
...
sudo apt install python-software-properties
sudo
...
-E add-apt-repository
...
ppa:webupd8team/java
git --version
sudo apt update
Create an SSH key to user with gerrit. Use no passphrase.
...