For all programmers who are skilled in C-style languages, and beginners who fish for new experience with these!

Report article RSS Feed Java & Eclipse IDE

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):
Oracle.com
(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.):
Eclipse.org
On the right, there is a section of links named Download Links, you need to select your own platform-specific version of the program.

3) Java learning materials, such as Introduction to Programming Using Java, the fifth edition: Math.hws.edu
Also available online: Math.hws.edu

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.:

java code:
import javax.swing.JOptionPane;

public class simple {
  public static void main (String[] args) {
    JOptionPane.showMessageDialog(null, "Hello Somebody!");
  }
}

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).

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Jul 20, 2010
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Groups
Curly Bracket Programming Realm
Curly Bracket Programming Realm Hobbies & Interests group with 74 members