Dec 27, 2017 Awais Liaqat

Getting Started With Java Programming Language
3   0   62   Programming - JAVA

Facebook   Twitter   Google   Email


Overview of Java technology as a whole. It discusses both the Java programming language and platform, providing a broad overview of what this technology can do and how it will make your life easier.

The Java Programming

The Java is a high-level language which have the following elements:

  • Simple
  • Secure
  • Robust
  • Multithreaded
  • High performance
  • Dynamic
  • Architecture neutral
  • Portable
  • Distributed
  • Object oriented

In Java, you can write code in plain text file with extension .java. Then this source file is compiled into .class extension using javac compiler.  A class file contanis bytecodes means machine language for Java Virtual Machine. Java application run with an instance of java Virtual Machine.

Tools You Will Need

You can run java code on very little specification computer like 64 to 128 Mb of RAM with just 200-Mhz Processor.

You will also need the following softwares −

  • Linux or Windows operating system
  • Java JDK 8
  • Notepad or any other text editor

Download Java First

Java SE is free to download at link and select your operating system: Download Java.⇱ 

Setting Up the Path for Windows

Let say you have installed Java in c:\Program Files\java\jdk

  • Goto "My Computer, Properties".
  • Click on "Environment variables" under the "Advanced" tab.
  • Now, alter the "Path" variable so that it also contains the path to the Java executable. If any of windows path already set there then just add a semicolon ( ; ) at the end and give new path which is "c:\Program Files\java\jdk\bin" (without double quotes) in my case.

Setting Up the Path for Linux, UNIX, Solaris, FreeBSD

Environment variable PATH is necessary because it tell computer where java binaries is installed. Please refer to your shell documentation, to set path for java

You Are Ready Now!

You are ready to write your first program

⇶⇶⇶ Write your First Program in Java (Hello World)

Is this helpful?   Yes   No

Facebook   Twitter   Google   Email
Click to copy
Successfully copy the link to share

Leave a Comment

Comments (0)

Thank you for your feedback
You are now following
Request Sent! Wait for Approval
Removed From Following
Something wents wrong!
Thank you for your comment