kevin has posted 2 posts at DZone. View Full User Profile

Getting Started with JCODER

  • submit to reddit

Today Java is used widely across the internet but it is also an invisible force behind many of the applications and devises that power our day-to-day lives. Mobile phones, handheld devises, games and navigation systems can all be Java driven.

To start developing Java applications, people tend to use Eclipse. However, for beginners, it would be easier for them to learn Java using a Lightweight Java IDE. This article will teach users to setup Java development environment and develop a basic program using JCODER.

In this tutorial, you will learn how to -

  • Download and install Java Development Kit (JDK) on Windows platform

  • Set up Java programming environment

  • How to type, compile and run a HelloWorld program in Java by using command prompt

  • Download and install JCODER

  • How to type, compile and run a HelloWorld program in Java by using JCODER


Download JDK

1. Go to
2. Locate JDK 6 Update 6 and click the Download button next to it. This includes the Java Runtime Environment (JRE) and command-line development tools.
3. Select Windows for Platform. Check the box I agree to ... and click the button Continue.
4. Click directly on the file name under either Windows Online Installation or Windows Offline Installation to download with your browser.
5. Click Save to save it to disk e.g. under C:\download\.
6. After download is completed, locate the file in your directory.

Install JDK

1. Double-click on the downloaded file to start the installation.
2. Read the license agreement and then click Accept.
3. Note that the default installation path for JDK is C:\Program Files\Java\jdk1.6.0_06\ and that for JRE is C:\Program Files\Java\jre1.6.0_06\. Click Next to proceed.
4. The installation will take several minutes. Click Finish after the installation is done.

Set up Java Programming Environment

1. In Windows, go to Control Panel and double-click System.

2. Select Advanced tab and click Environment Variables.

3. Under System variables box, select the variable Path and then click the button Edit.

4. Go to the end of the Path variable. Type a semi-colon and then your JDK bin path,
e.g. ;C:\Program Files\Java\jdk1.6.0_06\bin . Click OK.

5. You are ready to write, compile and run a HelloWorld java program now!

HelloWorld in Command Prompt

1. Create a directory e.g. C:\project\ in Windows Explorer. Then create a file named there.

2. Open the file with any text editor e.g. Notepad. Type the following code and save the file.

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");

3. Open a Command Prompt window by clicking Start > Run... and type cmd.

4. In Command Prompt, type in cd \project and then type in dir. This will show the content under this directory and you will see the file listed.

5. By using the command javac, you are about to compile java files. Now, type in javac to compile it.

6. After compilation completed, type in dir again and you will see there is a HelloWorld.class created.

7. By using the command java, you are about to run java programs. Now, type in java HelloWorld to execute it. This will print out the line Hello World! in the command prompt.

Published at DZone with permission of its author, kevin cheung.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Edvin Syse replied on Mon, 2008/08/25 - 3:24am

From the download page at I only see a Windows package. Isn't it a bit foolish to create a JAVA IDE and package it as an .exe file effectively preventing all other platforms from running the software?

Peter Ufak replied on Mon, 2008/08/25 - 5:02am

"tend to use Eclipse" - why not better NetBeans? If you begin work in Eclipse you have wrong philosophy about IDE. The other opinion... :-)

John Denver replied on Mon, 2008/08/25 - 5:36am

Hmm ... it is a C++ Windows IDE, No thanks. I prefer Netbeans is very easy to use, made in Java and multiplatform.

If I would like to use a Native IDE for Windows I would use JCreator it is very mature I think is since from the 90's. This is the same as been there, did that.

James Selvakumar replied on Mon, 2008/08/25 - 7:32am

NetBeans is very easy to setup as well. I don't see any reason why I should consider JCoder. Is it lightweight? So is NetBeans (if all you want is only Java SE development). Does it provide support to current java standards like Java EE 5, Hibernate, Spring etc..? Does it support ant/maven/groovy and so on...? Or like the Intellij IDEA code editor, does it provide a superior coding environment?

Peter Ufak replied on Mon, 2008/08/25 - 10:59am

Beautiful prototype of IDE. It is good for beginning. Better than text (e.g. Notepad or better with syntax) and manualy translate.

I suppose it will grow according to user requirements.

Good Luck.

Alex(JAlexoid) ... replied on Wed, 2008/08/27 - 2:22pm

Hey Kevin

Did you get the $10 they promised on their site?

 Or this post does not count as a blog entry?

jiji530 (not verified) replied on Tue, 2009/06/30 - 12:13am

thanks for your post.perhaps you will like abercrombie ed hardy mortgage rates tiffanys ed hardy Is not it?

zeft muyi replied on Tue, 2009/09/08 - 9:18pm

Hello I'm having problem in step 7, when I'm going to click "ok" button their is an error message appear that says "please select a project template", I dont get it... please help me. it's my first time to use jcoder

Eddy Jhon replied on Wed, 2009/10/14 - 6:11am

This article will teach users to setup Java development environment and develop a basic program using JCODER. Get Educated Scam

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.