Skip to content

Commit 50432c2

Browse files
committed
update
1 parent 95f7c0b commit 50432c2

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

core-java/java-basics/index.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patr
8585
- Java-arch is designed in such a way that reduce overhead during runtime and uses JIT (Just In Time) compiler where the compiler compile only those methods that are called, making app run faster.
8686
<br/>
8787

88-
# How we can create our first Java program
89-
<hr/>
90-
88+
# How we can create our first Java program<hr/>
89+
<br/>
9190
- Creating file name it use (**.java**) extension in any IDE(**Integrated Development Environment**) IntelliJ IDEA, Eclipse, or NetBeans.
9291
- Compiling the file/program with (java compiler **javac**) convert the source code -> bytecode(**.class**) file which can be execute on any os having JVM.
9392
- Running the program using (**java**) tool the JVM execute the compiled bytecode into machine level code using JIT and MC executed by the CPU.
@@ -153,4 +152,15 @@ The name itself suggests that it is the kit which includes each tool used to run
153152
| `jconsole` | Java Monitoring Console |
154153

155154
<br/>
155+
156156
So, **JDK is the toolbox, not just the hammer**.
157+
158+
- **JRE(Java Runtime Environment)**
159+
JDK includes JRE installation on our computers allows to run programs. We cannot compile it. JRE include a browser, JVM, applet support, & plugins.
160+
For running the java program, a computer needs JRE.
161+
162+
- **Garbage Collector**
163+
164+
- **Profiler**
165+
166+
- **JIT**

0 commit comments

Comments
 (0)