There are some prerequisites to run Jenkins:
- You need a droplet (server) with Ubuntu 18.
- You need to install Java 8.
If you don't have Java 8 installed, you can install it with this command:
sudo apt install openjdk-8-jre-headless
sudo apt install openjdk-8-jre-headless
If you want to check which version of Java you have installed, you can use the java -version command: