For all programmers who are skilled in C-style languages, and beginners who fish for new experience with these!
How to have a fast start with Java programming language.
Posted by feillyne on Aug 12th, 2010
Basic Client Side Coding.
Below a how-to of getting started with Java.
You need to download these three things:
1) Java Development Kit (JDK for short):
(JDK 6 Update 21)
Click Download, select Platform (e.g. Windows), click the link below to download Java SE Development Kit 6u21.
2) Elipse Helios, the compiler of Java code (the syntax coloured, checks for possible errors, etc.):
On the right, there is a section of links named Download Links, you need to select your own platform-specific version of the program.
There are a few things to know about Java if you are an experienced programmer (C++/C/C#, etc.).
One of the most important things, the main public file class must be exactly the SAME as the file name, unlike C# and C++ where it doesn't make any difference which class holds the main function, so e.g.:
The main public class is simple, and the Java file name is simple.java
Otherwise (without it or differently named) you may get compiling errors. One can always be on the lookout for other differences between Java and other curly-bracket programming languages, for example the concept of inheritance in Java.
Regarding Introduction to Programming Using Java, if you are an experienced programmer, you can skip most of the book and concentrate on the graphics, the chapters 6 (Introduction to GUI Programming) and 12 (titled Advanced GUI Programming).