Learn Core JAVA
4.3K subscribers
76 photos
6 files
44 links
Download Telegram
☆Configuring JDK software with OS(Operating System):-

After installation of JDK software visit inside below declared folder
C:\.......
copy the url
open system property window
Computer》Properties》Advanced system settings》Environment variables》system variables》PATH》PASTE THAT URL.
It pop-up window appears on the screen, the already some information will be predeclared. Don't manipulate that information, after information tyle ';' and paste the jdk url
Open the command prompt and type Java, a list of predeclared commands related to java appears on the screen. If not then crosscheck with configuration steps.
☆Java program Execution flow:-

Java program execution flow involves three steps process, they are
1. Coding
2. Compilation
3. Execution
Photo from Pratik
User declared java programs(.java) is considered to be as source file.
Once the source file is ready programmer need to invoke compiler to perform compilation operation.
The below declared command is used to invoke compiler

javac Filename.java
The work of compiler is, it compares user declared java program with standard java syntex(present inside java library).
This comparison is perform to detect syntactical mistakes. If any mistakes perform then compiler display fully qualified mistakes on screen.
If no mistakes perform, then compiler generate new file(compilation successful)
The newly generated file is considered to be as .class file or intermediate file.
The content of .class file is bytecode.
Once .class file is generated programmer need to invoke JRE or JVM for execution.
The below declared cmd is used to invoke JRE or JVM.

java ClassName
JRE is just a folder name, inside JRE there is a powerful tool present called JVM (Java Virtual Machine).
JVM is responsible for executing .class file.
Inside JVM, there are three imp blocks. They are,

1. Class Loader
Responsible for loading .class file from system memory to JVM memory.
One .class file can be loaded only once throught lifetime of the app.
Class loader loads .class file only
2. Byte Code Checker
For security reason the loaded .class file is again cross verified in it.
3. JIT - Just in Time Compiler
It is responsible for converting machine understandable language into user understandable language.
It performs the operation line by line and hence JIT is also known as interpreter.
The account of the user that created this channel has been inactive for the last 5 months. If it remains inactive in the next 29 days, that account will self-destruct and this channel will no longer have a creator.
The account of the user that created this channel has been inactive for the last 5 months. If it remains inactive in the next 19 days, that account will self-destruct and this channel will no longer have a creator.
The account of the user that created this channel has been inactive for the last 5 months. If it remains inactive in the next 9 days, that account will self-destruct and this channel will no longer have a creator.
Follow my page @codelytics for programming knowledge.

https://instagram.com/codelytics?igshid=lt2hb5amh983
Learn java here
Follow my page @codelytics for programming knowledge.

https://instagram.com/codelytics?igshid=lt2hb5amh983
Become a Java developer in 30 days

Core Java : ₹3000
Android : ₹7000
J2EE : ₹2500

Only java logical programs with 3 real time based project : ₹2500
[OOPS & Collection framework] required

Contact me for more detail :- 9099887667
https://t.me/joinchat/AAAAAFX6YV63TNiG_KB3kQ

Jois this channel to learn programming