Warning
This page is located in archive.

Java

This page offers tutorials and walkthroughs for the Java language, which should help you in finishing the assignment coding without any problems.

Version and Installation

There are several version of Java, for our purpose we shall use Java SE (standard edition). You can install it from here. We recommend Java SE Development Kit 6 (JDK 6). After installation, you will need to set system variable JAVA_HOME.

Programs written in Java are text files with .java extension. Those are later compiled into bytecode files, which use .class extension. Bytecode is then interpreted in the JVM (Java Virtual Machine). This means that Java programs can be run under any OS, as long as there is JVM installed.

IDE

While Java can be written in simple text editor, we strongly recommend using IDE. There are many Java IDEs, some of the best known are NetBeans and Eclipse. From the commercial tools, IntelliJ and JBilder should also be mentioned.

Walkthroughs and Tutorials

There are many walkthroughs and tutorials for Java on the internet.

There is a very extensive one, called “Java Trail” on the Oracle website. http://download.oracle.com/javase/tutorial/java/index.html http://download.oracle.com/javase/tutorial/essential/index.html

For advanced programmers, there are also those two tutorials about coding conventions. (Those help you to write well-organised and readable code.) http://www.oracle.com/technetwork/java/codeconvtoc-136057.html http://geosoft.no/development/javastyle.html#General

courses/ae4b99rph/tutorials/java/start.txt · Last modified: 2013/10/04 13:02 (external edit)