« Applications Basics » : différence entre les versions

De Marijan Stajic | Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
Java is one of the '''most popular languages''' used for building desktop and mobile applications. It is '''free''', '''open-source''', and has a '''huge community''' that follows and supports the project.
Java is one of the '''most popular languages''' used for building desktop and mobile applications. It is '''free''', '''open-source''', and has a '''huge community''' that follows and supports the project.


Initially, Java was named Oak, inspired by an tree that stood outside the office of the company that created Java. Due to a trademark conflict, the name was changed to Java, which is slang for coffee in American English. Coffee was chosen because it is the favorite drink of many developers.
Initially, Java was named '''Oak''', inspired '''by an tree that stood outside the office''' of the company that created Java. Due to a trademark conflict, the name was changed to '''Java''', which ''is slang for coffee'' in American English. Coffee was chosen because it is the favorite drink of many developers.


Many applications may not be using the latest version of Java. Indeed, there are several versions of Java, and it is not uncommon to see software that is stuck on an old version.
Many applications may not be using the latest version of Java. Indeed, there are several versions of Java, and it is not uncommon to see software that is stuck on an old version.

Version du 21 mai 2024 à 15:16

About

Java is one of the most popular languages used for building desktop and mobile applications. It is free, open-source, and has a huge community that follows and supports the project.

Initially, Java was named Oak, inspired by an tree that stood outside the office of the company that created Java. Due to a trademark conflict, the name was changed to Java, which is slang for coffee in American English. Coffee was chosen because it is the favorite drink of many developers.

Many applications may not be using the latest version of Java. Indeed, there are several versions of Java, and it is not uncommon to see software that is stuck on an old version.

Install (Linux)

You can find the latest version of Java on the Oracle website. To install it on Linux using the Shell, follow these instructions:

1. First, use the wget command followed by the link to the x64 Compressed Archive :

marijan$ wget https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.tar.gz

2. Then, unarchive the file in the directory where you want to install Java :

marijan$ tar -xzf jdk-22_linux-x64_bin.tar.gz -C [destination_directory]

3. You can verify if Java is correctly installed by using the following command :

marijan$ jdk-22.0.1/bin/java -version

java version "22.0.1" 2024-04-16
Java(TM) SE Runtime Environment (build 22.0.1+8-16)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)