Introduction to JAVA using IntelliJ


Installations of JAVA and IntelliJ

1. Install JAVA SE JDK :

Install JAVA JDK-11 using the following command line:

rn@rn-Lenovo-G50-30:~$ sudo apt install openjdk-11-jdk      //Press Enter

Once java is installed, you can verifyusing

rn@rn-Lenovo-G50-30:~$ java –version                //after finish te following message will be displayed

openjdk 11.0.10 2021-01-19

OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)

OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

rn@rn-Lenovo-G50-30:~$

IntelliJ

 IntelliJ IDEA is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.

We do not need to install Java to run IntelliJ IDEA because JetBrains Runtime is bundled with the IDE (based on JRE-11).

However, to develop Java applications, a standalone JDK is required

IntelliJ IDEA is available in the following editions:

  • Community Edition is free and open-source, licensed under Apache 2.0. It provides all the basic features for JVM and Android development.
  • IntelliJ IDEA Ultimate is commercial, distributed with a 30-day trial period. It provides additional tools and features for web and enterprise development.

System requirementsfor Intellij installation

Requirement
Minimum
Recommended
RAM
2 GB of free RAM
8 GB of total system RAM
CPU
Any modern CPU
Multi-core CPU. IntelliJ IDEA supports multithreading for different operations and processes making it faster the more CPU cores it can use.
Disk space
2.5 GB and another 1 GB for caches
SSD drive with at least 5 GB of free space
Monitor resolution
1024×768
1920×1080
Operating system
Officially released 64-bit versions of the following:
  • Microsoft Windows 8 or later
  • macOS 10.13 or later
  • Any Linux distribution that supports Gnome, KDE, or Unity DE.

Pre-release versions are not supported.

Latest 64-bit version of Windows, macOS, or Linux (for example, Debian, Ubuntu, or RHEL)

Installing Intellij

Now install IntelliJ using the follwoing commnd line

rn@rn-Lenovo-G50-30:~$ sudo snap apt install intellij-idea-community –classic

after successfully installation the system will display the following message:

intellij-idea-community 2021.1 from jetbrains* installed

How to Launch IntelliJ

 

 

 

 

 

Double Click the IntelliJ Icon to run or launch the IntelliJ on your computer

error: Content is protected !!