In our previous article, We will learn The Java Basic Syntax. In this article, we will make our First program in Java (Hello World), We will learn How to Compile and Run Java Program in your machine. The most basic syntax, keywords, special words and the working environment of Java.
Enough background! Let’s finish off this day by creating a real Java program. In Java you either can make a stand-alone Java application or an applet that you can view in either in the applet viewer (part of the JDK) or in a Java-capable browser. Although our first program is extremely simple, it will give you an idea of what a Java program looks like and how to compile and run it.
Java Applets: Applets, are Java programs that are downloaded over the World Wide Web and executed by a Web browser on the reader’s machine. Applets depend on a Java-capable browser in order to run.
As you all know very well Java is a highly paying programming language. He also have read my article on “An Overview to Java“. Now we will move towards programming. In order to run Java on your PC, you need to set up its variable paths (ClassPath). Here you will learn how to configure Java Development Environment Class Path variables in Linix, Unix, Windows XP, Windows 7, 8, and Windows 10 :).
First you need to download the Java and run the .exe to install Java on your machine. Once you installed Java on your machine, you would need to set environment variables to point to correct installation directories. Setting Up class path variables is not a difficult task. Bellow is the step by step guide to configure java path easily with respect to operating systems.
Hello mates, hope you all are very well. In this Article you will learn all about JAVA programming Language. Here is a Comprehensive Overview to Java Language. In this chapter you will learn, What is Java?, Why you need Java?, How to get started with Java and many other things as well.
What is Java? Java is an object-oriented programming language developed by Sun Micro Systems in 1995. Java is High Level Programming Language. Java is guaranteed to be WORA (Write Once, Run Anywhere). Java is machine independent language. As like other languages, Java didn’t interfere deeply with hardware i.e program written in java from any OS will run at any machine.
The Java language was used in several projects within Sun, but did not get very much commercial attention until it was paired with HotJava. HotJava was written in 1994 in a matter of months, both as a vehicle for downloading and running applets and also as an example of the sort of complex application that can be written in Java.