Java Certification Exam essentials: Compiling and running code
Once you've installed the Java Development toolkit (JDK) and configured JAVA_HOME, the next step is to start writing some Java code. In this tutorial, the fourth in a series, we simply focus on creating a single Java class with a runnable main method that prints out the hypothetical result of playing a single game of rock-paper-scissors. There is no input taken from the user and there is no complex business logic. In this first tutorial, the real goal is to get a simple class coded, compiled and running. Once you've accomplished this significant task, you'll be ready to move on to further tutorials that will get iteratively more complicated as your Java programming skills progress.
31 Aug 2012