Back to Blog
Ubuntu 20.04 install openjdk 117/6/2023 ![]() We will first import the repository GPG key using the following command: wget -q -O - | sudo apt-key add -Īnd then, add the Jenkins repository to our server with: sudo sh -c 'echo deb binary/ > /etc/apt//jenkins.list' To install the latest version of Jenkins, we will need to add the Jenkins repository to our server. OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing) Step 3. OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) We can verify the installation and Java version with: java -version We can do this by running the following command: sudo apt install openjdk-11-jdk In this step, we will install Java 11 through the OpenJDK 11 package – the open-source version of Java Runtime Environment (JRE) and Java Development Kit (JDK). Jenkins is a Java-based application and it requires either Java 8 or Java 11 runtime environment on the server. ![]() Once logged in, make sure that your server is up-to-date by running the following commands: sudo apt update -y Of course, you will need to replace IP_ADDRESS and PORT_NUMBER with your actual server IP address and SSH port number if necessary. To do this, use the following command: ssh _ADDRESS -p PORT_NUMBER Connect to Your Server & Update the Server OS Packagesīefore we begin, you need to connect to your server via SSH as the root user.
0 Comments
Read More
Leave a Reply. |