You are on page 1of 6

GETTING STARTED WITH JAVA

* window setup

* Introduction to java

* Mac os setup

* linux setup

* Your first java app

* variable and data types

* Taking user input

* Operators:part1

* Operators:part2

* Conditionals

LEVERAGING BASIC CONCEPTS

• Iterators

• Arrays

• Strings

• Methods

• Exception handling

OBJECT ORIENTED PROGRAMMING

• Classes and objects


• Constructors

• Getter and setter

• Inheritance

• Polymorphism

• Abstract keyword

• Interface

• Static keyword

• Collections

• File handling

JAVA APP DEVELOPMENT

• Connect four game uI

• Layouts

• Gridpane

• Menu

• Alert dialog

• Controller

• Temperature coverter tool

• Connect four warm up

• Connect four game UI


INTRODUCTION

Java is one of the programming language or technology used for developing web applications. Java
language developed at SUN Micro Systems in the year 1995 under the guidance of James Gosling and
there team. Originally SUN Micro Systems is one of the Academic university
(Standford University Network) Whatever the software developed in the year 1990, SUN Micro Systems
has released on the name of oak, which is original name of java (scientifically oak is one of the tree
name). The OAK has taken 18 months to develop.The oak is unable to fulfill all requirements of the
industry. So James Gosling again reviews this oak and released with the name of java in the year 1995.
Scientifically java is one of the coffee seed name. Java divided into three categories, they are •
J2SE (Java 2 Standard Edition) • J2EE (Java 2 Enterprise Edition) • J2ME (Java 2 Micro or Mobile
Edition) J2SE is used for developing client side applications. J2EE is used for developing server side
applications. HP the largest IT company in the world, through its partner offers high quality Courses
for 4 & 6 weeks. Few Courses in Summer Training Program are Programming Techniques using ‘C’, PHP,
VLSI, VHDL & PCB Design, Data Structure using C Language, Core Java, J2EE – Hibernate with Spring
Framework, J2EE – Struts with Hibernate Framework, Android, ASP.NET With C#, Embedded &
Robotics-Basics & Advanced, ARM, Linux Administration with Scripting, Networking concepts with
security

BASICS OF JAVA

Overview Of Java Java is a platform independent, more powerful, secure, high performance,
multithreaded programming language. Here we discuss some points related to java. Define JRE The
Java Runtime Environment (JRE) is part of the java Development Kit (JDK). It contains set of libraries and
tools for developing java application. The Java Runtime Environment provides the minimum
requirements for executing a Java application. Define JVM JVM is set of programs developed by sun
Micro System and supplied as a part of jdk for reading line by line of byte code and it converts into
native understanding form of operating system. Java language is one of the compiled and interpreted
programming language. Garbage Collector Garbage Collector is the system Java program which runs
in the background along with regular Java program to collect un-Referenced (unused) memory space for
improving the performance of our applications. Define an API An API (Application Programming
Interface) is a collection of packages, a package is the collection of classes, interfaces and sub-
packages. A sub-package is a collection of classes interfaces and sub sub packages etc. Java
programming is containing user friendly syntax so that we can develop effective application s. in
other words if any language is providing user friendly syntax, we can develop error free applications
4 Installation of the JDK on macOS
The JDK supports both Intel-based (x64) and Apple Silicon (AArch64) Mac computers.

This topic includes the following sections:

System Requirements for Installing the JDK on macOS

JDK Installation Instruction Notation for macOS

Determining the Default JDK Version on macOS

Installing the JDK on macOS

Uninstalling the JDK on macOS

Installation FAQ for macOS

command line, the system uses the default JDK.

There can be multiple JDKs installed on the macOS system.

You can determine which version of the JDK is the default by entering java -version in
a Terminal window. If the installed version is 20 Interim 0, Update 0, and Patch 0, then
you see a string that includes the text 20. For example:
Copy
$ java -version
java version "20"
Java(TM) SE Runtime Environment (build 20)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b04, mixed mode)
To run a different version of Java, either specify the full path, or use the java_home tool.
For example:
$ /usr/libexec/java_home -v 20 --exec javac -version

Installing the JDK on macOS


To install the JDK on macOS:

1. Download the required JDK .dmg or file from .tar.gz page:


• macOS x64 systems: jdk-<FEATURE>_macos-x64_bin.dmg OR jdk-
<FEATURE>_macos-x64_bin.tar.gz
• macOS aarch64 (64-bit ARM) systems: jdk-<FEATURE>_macos-
aarch64_bin.dmg OR jdk-<FEATURE>_macos-aarch64_bin.tar.gz
Click Accept License Agreement.
2. From either the browser Downloads window or from the file browser, double-
click the .dmg file to start it.
A Finder window appears that contains an icon of an open box and the name of
the .pkg file.
3. Double-click the JDK 20.pkg icon to start the installation application.
The installation application displays the Introduction window.
4. Click Continue.
The Installation Type window appears.
5. Click Install.
A window appears that displays the message: Installer is trying to install new
software. Enter your password to allow this.
6. Enter the Administrator user name and password and click Install Software.
The software is installed and a confirmation window is displayed.

After the software is installed, you can delete the .dmg or .tar.gz file if you want to save disk space.

See a string that includes the text 20. For example:

Copy
$ java -version

Java version “20”

Java™ SE Runtime Environment (build 20)

Java HotSpot™ 64-Bit Server VM (build 23.2-b04, mixed mode)

To run a different version of Java, either specify the full path, or use the java_home tool. For example:

$ /usr/libexec/java_home -v 20 –exec javac -version

Installing the JDK on macOS

To install the JDK on macOS:

Download the required JDK .dmg or file from .tar.gz page:

macOS x64 systems: jdk-<FEATURE>_macos-x64_bin.dmg OR jdk-<FEATURE>_macos-x64_bin.tar.gz

macOS aarch64 (64-bit ARM) systems: jdk-<FEATURE>_macos-aarch64_bin.dmg OR jdk-


<FEATURE>_macos-aarch64_bin.tar.gz

Click Accept License Agreement.

From either the browser Downloads window or from the file browser, double-click the .dmg file to start
it.

A Finder window appears that contains an icon of an open box and the name of the .pkg file.

Double-click the JDK 20.pkg icon to start the installation application.

The installation application displays the Introduction window.

Click Continue.

The Installation Type window appears.

Click Install.

A window appears that displays the message: Installer is trying to install new software. Enter your
password to allow this.

Enter the Administrator user name and password and click Install Software.

The software is installed and a confirmation window is displayed.

After the software is installed, you can delete the .dmg or .tar.gz file if you want to save disk space.

You might also like