Test Blog DD – Install JDK aka Java SDK zum Delete

Table of Contents

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

code block – start

code block – end

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

1

code block – start

Installation of Java on Ubuntu - the easy way

We will update our repository for Ubuntu 16.04 and 18.04

sudo add-apt-repository -y ppa:linuxuprising/java sudo apt-get update

bash

code block – end

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

code block – start

code block – end

To install JDK on Windows, we firstly need to download it from the page and download Windows version (should be called: jdk-10.0.2_windows-x64_bin.exe)

To install the JDK just start the installer and follow the instructions.

You can set the PATH variable on Windows by doing this:

Open Control Panel and select System

open control panel system settings to set PATH

Choose the Advanced system settings and then Environment Variables

Open System properties

While in Environment Variables, scroll down (in System variables part) until you see a Path

Open Environment Variables to set PATH

Double click on variable “Path” and you will be given an option to add your path to JDK (in variable value). We have added ours to C:\Program Files\Java\jdk-10\bin

Open Edit to set a PATH to JDK

If we had more paths to JDK, they would be divided by semicolon (;)

for a better understanding about JAVA_HOME you can read also How to set JAVA_HOME properly?

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

code block – start

code block – end

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

3

code block – start

Installation of Java on Ubuntu - the easy way

We will update our repository for Ubuntu 16.04 and 18.04

sudo add-apt-repository -y ppa:linuxuprising/java sudo apt-get update

bash

After executing the commands your repository is knowing the new java packages

code block – end

To be able to run any Java application, we need first to install the Java Software Development Kit or abbreviated with JDK or Java SDK.

code block – start

code block – end

TestLinkTitle
https://preprod.xenovation.com/blog/test-blog-dd-install-jdk-aka-java-sdk/

Leave a Reply

Your email address will not be published. Required fields are marked *