Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Search:

CA249      CA318      CA425      CA651

w2mind.computing.dcu.ie      w2mind.org


Java start




Use in DCU (Win and Linux)



Use in DCU (Win)



Use on your own machine    

If you want to install on your own machine:
  1. Download Java Development Kit (JDK)
  2. JDK install instructions
If you are on Windows:
  1. Just run the downloaded EXE to install.
  2. Add this to PATH:
     C:\Program Files\Java\VERSION\bin 
    


To change PATH on Win



To write a Java program



Installed software at DCU



"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



Feeds      HumphrysFamilyTree.com

Bookmark and Share           On Internet since 1987.