Java tutorial Part 1: Setting up the Java Environment

Introduction

Java, for those unfamiliar with it, is an object-oriented programming language. It was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank and Mike Sheridan at Sun Microsystems, Inc. in 1991. When we say it’s an object oriented language, it means that it views its components as objects with behaviors that we can control and implement using concepts such as Encapsulation, Inheritance and Polymorphism.

Most of the above might not have made much sense but it will as the course progresses.

Environment Setup

Java programs can be executed on the Windows OS, the Mac OS and many versions of Linux as well. We will proceed with learning it on the Windows OS.

Java code that we write is first converted into a bytecode which is then interpreted by the Java Virtual Machine (JVM). This makes Java a platform independent language. As long as we have the JVM, we can execute Java programs on that machine. For this we install Java Development kit (JDK) as follows:

Read the full story by

Tags:

RELATED READS
#Dontstayinschool: an interesting message Throwback Thursday: the end of the first grading period
We are updating our Privacy Policy, so please make sure you take a minute to review it. As of May 25, 2018 your continued use of our services will be subject to this new Privacy Policy.
Review Privacy Policy OK