Java is an object-oriented programming language which boasts a write once run anywhere architecture. This simply means that a Java program runs across different computing platforms (i.e. Windows, Mac, Linux, etc.) because of the Java Virtual Machine (JVM). Java programs are compiled into Bytecode which then runs in a JVM. Today Java is the most popular programming language in use.
Getting Started
To start writing and testing Java source code I recommend downloading an IDE (Integrated Development Environment). There are many free IDE's available, BlueJ, Eclipse, and NetBeans are a few. However, I will be using the BlueJ IDE, it is free to download, just click on the following link:
The BlueJ IDE is excellent for learning Java because it provides visual cues when coding, it allows you to instantiate objects and test methods without writing a main method, and shows inheritance and dependancies between classes.