Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

My big idea: Ancient Brain

Search:

CA114      CA170

CA668      CA669      Projects


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



What to write code in

Any text editor will do, but you may prefer an IDE.
Some of these installed at DCU. Some not.




"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



ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.

Wikipedia: Sometimes I link to Wikipedia. I have written something In defence of Wikipedia. It is often a useful starting point but you cannot trust it. Linking to it is like linking to a Google search. A starting point, not a destination. I automatically highlight in red all links to Wikipedia and Google search and other possibly-unreliable user-generated content.