|
| 1 | +# Introduction to Java + Installing Java JDK and IntelliJ IDEA for Java |
| 2 | + |
| 3 | +- Java is one of the most popular programming languages because it is used in various tech fields like app development, web development, client-server applications, etc. |
| 4 | +- Java is an object-oriented programming language developed by Sun Microsystems of the USA in 1991. |
| 5 | +- It was originally called Oak by James Goslin. He was one of the inventors of Java. |
| 6 | +- Java = Purely Object-Oriented. |
| 7 | + |
| 8 | +## How Java Works? |
| 9 | +- The source code in Java is first compiled into the bytecode. |
| 10 | +- Then the Java Virtual Machine(JVM) compiles the bytecode to the machine code. |
| 11 | + |
| 12 | +<img src="https://api.codewithharry.com/media/videoSeriesFiles/courseFiles/java-tutorials-for-beginners-1/base64.png" alt=""> |
| 13 | + |
| 14 | +## Java Installation: |
| 15 | + |
| 16 | +### Step 1: Downloading JDK |
| 17 | +- JDK stands for Java Development Kit. It contains Java Virtual Machine(JVM) and Java Runtime Environment(JRE). |
| 18 | +- JDK – Java Development Kit = Collection of tools used for developing and running java programs. |
| 19 | +- JRE – Java Runtime Environment = Helps in executing programs developed in JAVA. |
| 20 | +- [Click here](https://www.oracle.com/java/technologies/javase-jdk16-downloads.html), and you will be redirected to the official download page of JDK. |
| 21 | +- Select your operating system and download the file(executable file in case of Windows). |
| 22 | + |
| 23 | +### Step 2: Installing JDK |
| 24 | +- Once the executable file is downloaded successfully, right-click and open the file. |
| 25 | +- The executable file will start executing. |
| 26 | +- Keep clicking on the Next button to install the JDK in default settings. |
| 27 | + |
| 28 | +### Step 3: Downloading IntelliJ IDEA : |
| 29 | +- We need an Integrated Development Environment(IDE) to write and debug our code easily. |
| 30 | +- IntelliJ IDEA is the best-suited IDE for writing Java code. |
| 31 | +- [Click here](https://www.jetbrains.com/idea/download/#section=windows), and you will be redirected to the official download page of IntelliJ IDEA. |
| 32 | +- Download the Community Version of the IntelliJ IDEA as it is free to use. |
| 33 | + |
| 34 | +### Step 4: Installing IntelliJ IDEA : |
| 35 | +- Once the download completes, open the .exe file, and the installation process will begin. |
| 36 | +- Click on the **"Next"** button to install the IntelliJ IDEA in the default location. |
| 37 | +- Do not forget to check **"Add launchers dir to the PATH,"** as shown in the below image. |
| 38 | + |
| 39 | +<img src="https://api.codewithharry.com/media/videoSeriesFiles/courseFiles/java-tutorials-for-beginners-1/Idea_installation.png" alt=""> |
| 40 | + |
| 41 | +- After this, click on the "Next" button and then click on the **"Install"** button. |
| 42 | + |
| 43 | +### Handwritten Notes: [Click To Download](https://api.codewithharry.com/media/videoSeriesFiles/courseFiles/java-tutorials-for-beginners-1/IntroToJava.pdf) |
| 44 | + |
| 45 | +### Ultimate Java Cheatsheet: [Click To Download](https://api.codewithharry.com/media/videoSeriesFiles/courseFiles/java-tutorials-for-beginners-1/UltimateJavaCheatSheet.pdf) |
0 commit comments