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:
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