Skip to content
Advertisement

Installing jenkins on Linux Mint 20.2

I’ve Linux Mint 20.2 Cinnamon and I tried to install jenkins. Detailed steps for installation is as below:

1. Installing java – installed via apt

JavaScript

I’ve also added JAVA_HOME in ~/.zshrc which gives:

JavaScript

2. Installing jenkins

JavaScript

I’ve tried with different versions of java, yet the same error. What am I doing wrong? Related solutions that I tried, but failed: [1], [2]

Advertisement

Answer

jenkins will work with java 8 on mint 20 and 21. If you have different java versions installed on your system then select the jdk8 as default by

JavaScript

and then open your jenkins config file

JavaScript

and append your java path to PATH variable

JavaScript

and then restart the service

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement