Java start




Use in DCU



Use on your own machine    

If you want to install on your own machine:
  1. Download Java Development Kit
  2. install instructions
  3. add this to PATH:
     C:\Program Files\Java\VERSION\bin 
    


To change PATH on Win



To write a Java program



"Hello World" program

public class Hello 
{
  public static void main ( String[] args ) 
  {
    System.out.println("Hello World");		// comment	

    for ( int i=0; i < args.length; i++ ) 
      { System.out.println ( args[i] ); }
  }
}





Java programs




Books