0% found this document useful (0 votes)
0 views22 pages

CoreJava Day 1

The document provides an introduction to Java, highlighting its features as a high-level, object-oriented programming language, and details its history from its inception by James Gosling in 1991 to its renaming and release by Sun Microsystems in 1995. It includes instructions for installing Java and Eclipse, setting environment variables, and creating a Java project. Additionally, it covers the process of downloading and adding Selenium jar files for Java development.

Uploaded by

sharanvp00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views22 pages

CoreJava Day 1

The document provides an introduction to Java, highlighting its features as a high-level, object-oriented programming language, and details its history from its inception by James Gosling in 1991 to its renaming and release by Sun Microsystems in 1995. It includes instructions for installing Java and Eclipse, setting environment variables, and creating a Java project. Additionally, it covers the process of downloading and adding Selenium jar files for Java development.

Uploaded by

sharanvp00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Core Java

- HemanthKumar C
Fundamentals of Java

Introduction to
JAVA & Installation
of JAVA & Eclipse
why java is object oriented programming language ?
JAVA : Java is a High-Level programing language which is Java is object oriented programming language because it
supports the following concepts :
used to develop software.
1. encapsulation.
Java is object oriented programming language.
2. polymorphism

Java features : 3. inheritance


4. class and object
➢ It is secured language.
5. abstraction.
➢ It is robust. This is why it is object oriented
➢ It is platform independent.
➢ High performance.
➢ Compiled and interpreted.
➢ Multi – threaded.
➢ It is object oriented.
➢ It is polyglot (it means the program which we write using
java syntax will be understood by various programming
language).
History

➢ James gosling is the father of java, and introduced in the year 1991.

➢ The software was named as green talk and the team which developed is called green team. Later the software
was renamed as Oak. Oak is a symbol of strength and it is a national tree for Germany.

➢ There was already existing company called Oak technology which had become a legal issues due to this legal
issues they changed the software name Oak to java.

➢ James gosling and his team went for a coffee to an island and the coffee shop named was java hence they
kept the software name as java , since they went for a coffee they kept the coffee bug as a logo for the java
software.

➢ Java is a high-level programming language originally developed by Sun Microsystems and released in 1995.
Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX
Eclipse & Java installation
Download Java SE Development Kit 17.0.10 according to the Windows, Linux, or macOS
platform being used

To Directly Download Please Press the link Below


https://download.oracle.com/java/17/archive/jdk-17.0.10_windows-
x64_bin.exe
You will see the the following windows.

Windows Installer – Preparing to Install

J a v a 11Installation – Setup Wizard

Click on next to
continue
Step 2 – Custom setup
In this screen you can change certain installation defaults. I accept
this as it is. You can change the installation directory if you want by
clicking on change. Click next to continue.

Please remember the installation directory path. This will be


required to set the environment variables

J a v a 11JDK Installation Wizard – Custom Setup

Click Next to begin the installation


Step 3 – Installation begins
You will see that the installation begins. Please wait for the process to
complete.

After sometime you willJ asee


v a 11JDK Installation progress
installation complete message.
J a v a JDK 11Installation Complete

Click on close to complete the installation.

Add J a v a Path to the environment


variable
If you want to run the J a v a command from anywhere, its better to
a dd it in the pa th va riable. This is how you would do it.

Step 1- Go to advanced setting


Search advanced setting in the taskbar search pane. Click on view
advanced system settings.
Windows 10ta skba r sea rch – a dva nced settings

You will see System properties window. Click on Environment variable.


Windows OS – System properties window

Step 2- Add to Environment path


variable
Under System va ria ble – click on path and click edit
Windows 10– Environment va ria ble

Click on New, and add the java directory’s bin folder path such as
c:\java\bin or C:\Program Files\Java\jdk-11.0.6\bin. This will change
based on where you have extracted the .zip file(option 2) or installed
java(option 1). If you have used the default settings, J a v a will be
installed in the C:\Program Files\Java\ folder.

Click on Ok continue a nd exit.


Close and Open command CMD and type java –version
to check whether java is installed or not
Eclipse & Java installation
Download latest eclipse installer from below link

https://www.eclipse.org/downloads/
Configure Environment Variables

Create New J a v a project

File 🡪 New 🡪 Java


Project
Configure Environment Variables

Create package under project

Src 🡪 New 🡪 Package


Configure Environment Variables

Create class under package

package 🡪 New 🡪 Class


Configure Environment Variables

Download java bindings (selenium


jars) by clicking on java icon in the
link

https://www.selenium.dev/downloads/
Configure Environment Variables
Configure Environment Variables

Selenium jar will be downloaded on local disk. Extract all


the files from zip file
Eclipse & Java installation

Add jar files which are downloaded as language


bindings. (In case of java, jar files)

Note : Add all the jar files. After adding you will see “Referenced Libraries” inside your package
Thank you
Introduction to JAVA &
Installation of JAVA & Eclipse

- HemanthKumar C

You might also like