- Kotlin Programming By Example
- Iyanu Adelekan
- 80字
- 2025-04-04 17:16:16
Installation on Linux
Installation of the JDK on Linux is easy and straightforward using apt-get:
- Update the package index of your computer. From your terminal, run:
sudo apt-get update
- Check whether Java is already installed by running the following:
java -version
- You'll know Java is installed if the version information for a Java install on your system is printed. If no version is currently installed, run:
sudo apt-get install default-jdk
That's it! The JDK will be installed on your computer.