on't write anything on the paper or notepad, I will make notes for each session for
you.
Please give attention to the session only.
***********************************************************************************
JDK vs JRE vs JVM
java installation
eclipse setup
path variable and type of path variable
compilation process
api introduction
where api testing comes into the picture
why api testing is important
ui vs api automation
***********************************************************************************
***
Java development kit------------------------------when we want to write the code
and we want to execute the code then we must have JDK in our system. JDK contains
JRE + JVM.
Java runtime environment----------------------when we want to only execute the code
if we have JRE in our system yes we can execute. JRE will provide a run time
environment in which JVM(java virtual machine) will execute the code.
Java virtual machine
***********************************************************************************
*
what we need ?
we need jdk because we want to write the code and we want to execute the code
that's why we need jdk
*****************************************************************************
windows/Linux/mac
if someone having Linux or mac then please ping me personally I will share the
steps for installation for mac or Linux
depending upon your system requirement download the exe file of the jdk.
*********************************************************************************
64 bit then download the 64 exe file
32 bit then download the x86 exe file
after downloading the exe file(executable file) of jdk, just click on it and then
next----next and finish it
***********************************************************************************
*****
when you will write the java code, what will be the extension of the file ?
.java file
After that you will get the java setup in your system
in c drive and program files
copy the path till bin folder and bin folder is containing a file named javaC(java
compiler) that is responsible for conversion of the .java file into .class file
Steps to set the path variable ?
right click on my computer--------------go to properties and search environment
variables
then click on the edit system environment variables
then click on the environment variables
in the system variable we have a variable named Path
go to edit and then click on new and paste your path and after that click on Ok---
OK and OK
why we setup the path variable ?
so that eclipse will get to know about the java compiler whether it exist or not,
if yes it exist then where it exist eclipse will get to know with the help of path
variables.
how we will get to know whether java has been installed or not
go to cmd and run the command java -version
what we need to install now ?
we will install eclipse
64 bit eclipse --------
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/
release/photon/R/eclipse-jee-photon-R-win32-x86_64.zip
32 bit
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/
release/photon/R/eclipse-jee-photon-R-win32.zip
after downloading the eclipse you will get the zip folder of the eclipse
you need to extract that folder.
when you will click on the eclipse it will ask for the workspace.
what is workspace ?
workspace is the location in your system where your code will be saved.
JDK is the complete kit that will contain all the things required for writing and
executing
eclipse is a just a editor only.
JDK is a kind of software bundle, eclipse is editor only. eclipse will use JDK in
the background.
recording + live class
assignments after each session
interview question
study material
notes
assignment screenshot you have to submit in the group.
java group-------------------email id