Install Java JDK 17 LTS on Ubuntu 22.04 | Write your first Java program | IntelliJ



Install Java JDK 17 LTS on Ubuntu 22.04 | Write your first Java program | IntelliJ

Install Java JDK 17 LTS  on Ubuntu 22.04 | Write your first Java program | IntelliJ

In this video I have shown how you can install Java JDK on your Ubuntu 22.04 LTS. And also write your first Java Program using IntelliJ.

For installation : sudo dpkg -i jdk-YOUR_JAVA_VERSION.deb
To check the location of java : ls /usr/lib/jvm
For setting up environment variable :
sudo update-alternatives –install /usr/bin/java java /usr/lib/jvm/YOUR_JAVA_VERSION/bin/java 1

sudo update-alternatives –install /usr/bin/java javac /usr/lib/jvm/YOUR_JAVA_VERSION/bin/javac 1

To check the Version : java -version
javac -version

Timelapses :
00:00 – Introduction to Java
00:15 – Download the Oracle Java JDK
01:20 – Install Java JDK using dpkg
02:00 – update-alternatives for java and javac
03:33 – Check java and javac version
04:30 – Update the JAVA_HOME in environment variable
05:40 – Install IntelliJ
06:40 – Create New Java Project
07:10 – Write you first Java Program “Hello, World!” using IntelliJ
07:50 – Outro (Be sure to subscribe Code With Arjun)

PayPal : https://paypal.me/codewitharjun
Patreon : https://www.patreon.com/codewitharjun

➡️ Subscribe : https://www.youtube.com/codewitharjun

Stay Connected :
➡️ LinkedIn : https://np.linkedin.com/in/arjungautam1
➡️ Github : https://github.com/arjungautam1

Join Community :
➡️Discord : https://discord.gg/cn2x3jhMW4

Follow me on :
➡️ Medium: https://codewitharjun.medium.com/
➡️ Dev.to : https://dev.to/codewitharjun

#java #jdk #CodeWithArjun #Programming #intellij

Comments are closed.