Hello World and Onwards
Here is the Hello World class in Java. Once you type it into Dr Java hit F5 to compile and then F2 to run the program. The output appears below in the Console.
Next you will need to look for a set of tutorials to learn basic Java.
Codeacademy.org has some great resources including a 25 hour fundamentals course. You don't need to install an IDE for these but you will need to make yourself an account.
You can also download the ICS4MPU1.zip file. Unzip and you will have a complete introduction to Java unit that includes
Hello World
Variables and constants
Input/Output
Repetition
Selection
Random Numbers
Methods
Arrays
Sorting
Files
Click on the Unit Overview file and go from there to the individual lessons.
public class HelloWorld {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello World! Finally!");
}
}