Introduction
- extention
.java
- compiler -> converts code file to byte code (in java) (
.class
file) - java is platform independent - this means that java code complied on one machine can run on any other machine without recompiling
- JVM is platform dependent JVM runs the
.class
file
More about platform independence
- Java Virtual Machine (JVM) converts this bytecode to machine code
- jvm is machine dependent
JDK vs JRE vs JVM vs JIT
JDK (Java Development Kit)
- JDK is the software that you install on your computer to work with java
JRE (Java Runtime Environment)
Flow chart
JRE vs JVM
For example
- JRE is the box
- JVM is inside the box that does the work
JDE installation from oracle.com
IDE installation (IntelliJ community edition)
Resources
- Kunal Kushwaha’s video -> https://youtu.be/4EP8YzcN0hQ
- JDK download -> https://www.oracle.com/in/java/technologies/downloads/
- IntelliJ download -> https://www.jetbrains.com/idea/download/?section=mac