Installation steps for Java on Ubuntu 22.04

  • sudo apt update
  • sudo apt install default-jre
  • sudo apt install default-jdk
  • java -version
  • javac -version
  • Link to Install Jenkins in Ubuntu20.4

  • Link to Install Git in Windows

    Choose '64-bit Git for Windows Setup' standalone installer.

  • Apache Maven Installation

    Link to Download Apache maven

  • Link to Installation steps of Apache maven

  • Create AWS account

  • Create SonarQube cloud account

  • Link to install JDK 17 in Windows

  • Click on 'x64 Installer' link to download it

  • The JDK exe file gets downloaded, click on that exe file and install JDK 17. Refer to below image:

    JDK-17 installed

    Install Jenkins in Windows:

  • Click on the downloaded 'jenkins.msi' file. Jenkins Setup Wizard opens up as shown below:
  • Jenkins wizard
  • Click on 'Next', as shown in below image:
  • Jenkins Path confirmation
  • Click on 'Run service as localsystem'. Click on 'next'
  • service cred
  • Check which port is available in your system to run jenkins. For instance default port of Jenkins is 8080 but my system is running another tool at 8080, so when test this port I will get the below erro:
  • Port config
  • Hence I provided 9090 port, tested the port to see if its available, as shown below this port is free to host my Jenkins tool. Click on 'next'.
  • Port config
  • Now search where you installed JDK in your 'Program files' directory and copy-paste that path in the Java home path section. For instance my JDK is at "C:\Program Files\Java\jdk-17" path. Hence I enter the same. Refer to below images:


  • If you enter the wrong JDK path, you will get the below error:

  • Click on next

  • Click on install

  • After installation, Click on finish

  • Navigate to browser and enter : http://localhost:*port.no*. For instance my Jenkins URL will be "http:/localhost:9090/"
  • Post installation Jenkins setup, Refer to the below link

  • Note

    Please save your initial Jenkins username and password. Once lost it is very difficult to retrieve it.