Java Tutorial for Beginners

The java programming language is an object-oriented programming language that contains complete information, syntax and examples of java program for the beginner's. In this online java programming tutorials for beginners helps you to how to write java program, compile java command as well as how to install and configure java.

This Java tutorial for beginners is very useful for a person new to Java. You will learn the basic of Java and quickly develop and test simple program.

  1. First we will ensure that the Java is installed and configured on your computer.
  2. For this go to console and type Java. If Java is not installed and configured, first install and configure Java on your computer.

  3. Lets write an application in Java that prints current date on console.
public class CurrentDate {

public static void main (string [] args){




Compile and execute Java Program.

Java compile command: compile command for java is as given below.

-> javac

Java execute command: execute command for java is

-> java filename

Output of Java Beginners Example Code

Related Java Tutorials for Beginners

  1. Eclipse Java Tutorial for Total beginners
  2. Fundamental of Java Programming
  3. Features of Java
  4. Java SE Fundamentals
Share on Google+Share on Google+

Java Tutorial for Beginners

Posted on: June 7, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: Java Tutorial for Beginners  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image