0% found this document useful (0 votes)
1 views20 pages

Lesson-1-5 Installation and Configuration Java

This document provides an introduction to Java, detailing its evolution from the Oak programming language developed by Sun Microsystems in the early 1990s to its current status as a leading language for internet programming. It outlines key features of Java, including its compiled and interpreted nature, platform independence, and robust security. Additionally, the document includes instructions for downloading and installing the Java Development Kit (JDK) on Windows, along with configuration steps to set up the environment for Java development.
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)
1 views20 pages

Lesson-1-5 Installation and Configuration Java

This document provides an introduction to Java, detailing its evolution from the Oak programming language developed by Sun Microsystems in the early 1990s to its current status as a leading language for internet programming. It outlines key features of Java, including its compiled and interpreted nature, platform independence, and robust security. Additionally, the document includes instructions for downloading and installing the Java Development Kit (JDK) on Windows, along with configuration steps to set up the environment for Java development.
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/ 20

3.

Programming with java

3.1Introduction to java
This lesson covers the following objectives:
Java is a Programming Language
Java is an innovative programming language
that has become the language of choice for
programs that need to run on variety of
different computer systems.
3.1. Evolution of Java

In 1990 Sun Microsystems decided to develop a special


software that could manipulate electronic devices. Year
1991 team announced a new language it named “Oak”.
Afterwards in year 1992 a Team called Green project
develop first application with the new language oak.
Year 1993 is the year World Wide Web(WWW) appear on
internet. Green project team came with the idea of
developing a web page with new language. Team
developed a web browser called “HOT JAVA” in year 1994.
Finally Oak was rename to “ Java ”.
java introduced as the leader for Internet programming
language.
Features of java

Java is Compiled and Interpreted.


Platform Independent.
Fully Object –Oriented.
Robust & Secure
Distributed.
Multithreaded.
High Performance. (Faster)
Java is Compiled and Interpreted

Java is Compiled
java Byte Code
Java Compiler
file

Java is Interpreted

Byte Java Interpreter Machine


Code Code
Java is Platform Independent

The JVM(Java Virtual Machine) is the


environment in which Java programs
execute.
It is a software that is implemented on top of
real hardware and operating system.
When the source code (.java files) is
compiled, it is translated into byte codes and
then placed into (.class) files. The JVM
executes these bytecodes.
Java Application programming interface (Java API).

Java API is a set of software components that


provides the facilities you need to develop
fully fledge interactive applications in java.
Installing JDK
Downloading and Installing J2SE Software on Windows
Platform To download J2SE for development visit
http://www.oracle.com/technetwork/java/javase/downloads/
index.html
and download J2SE on your machine..The java 2Platform or
(JDK) can be downloaded from the sun. Formerly Known as the
java Development kit ,or JDK, Downloading java is really about
downloading the java 2 plat form that comes in three editions ,
J2ME, J2SE and J2EE , if you are learning java, then, you should
start by downloading J2EE.

Once you have downloaded the j2se on your system, you are
ready to install . In the following section we will learn how to
install jdk development environment on your machine. here
are the step to install JDK on your windows machine.
Step 1

Double click the JDK


down loaded file, the
executable extracts
the required Contents
to the temporary
directory and then
License agreement
screen appears. On
the license agreement
page read and accept
the license and the
click the next button .
Step 2

The custom setup


screen appears as
follows.
Step 3

Click on the change


button to change the
installation directory to
"c:\jdk1.5.0_06" as
shown in the following
screen.

and click on the "OK"


button. After clicking
on the "OK" button
installation begins:
Step 4

In the next window


installer asks for the
installing the runtime
as shown in the
following screen:
Step 5

Click on next button


install the J2SE runtime
on your machine. Next
screen shows the
browser selection:
Step 6

Once the installation is


finished it shows you
the final screen
indications the success.
Now you have
successfully installed
J2SE on your machine.
Installer shows the
following final
confirmation window
as shown below:
Configuring the installation on windows machine:

In this Section we will add


some settings to the
windows environment so
that the java compiler and
runtime becomes available
for compiling and running
the java application.

Go to the control panel and


double click on "System
Properties" and to to the
advance tab.
Select Environment
Variables.
Configuring the installation on windows machine:

add "c:\jdk1.5.0_06"
to path variable in
system variables :
• Java
• JVM
• JAVA API
• JRE
• Bytecode
• Source Code
• Machine Code
1) http://www.oracle.com/us/downloads/index.html

2) http://vietpad.sourceforge.net/javaonwindows.html

You might also like