Tuesday 12 November 2013

Setting up environment

First things first, you'll need to set up your environment before you can program in Java.

Things you are required to have ready:
  1. JRE (Java runtime environment) and JDK (Java development kit)
  2. Any java source code editor tool, we'll use BlueJ
1. JRE and JDK

Java runtime environment is needed for running programs written in Java, while JDK is needed to develop those programs. Very conveniently both can be downloaded as a bundle from Oracle's website, just click on this link. If for some reason the link doesn't work for you, just type "java jdk" in your favorite search engine. Once you've successfully landed on the Oracle's website, accept the license agreement and download the JDK for your platform. JDK already contains JRE inside so there's no need to download anything else. The installation of JDK is straight forward

2. Text editor

Any text editor will do just fine to edit java source code since it's plain text. However, to keep things simple use BlueJ, which you can download here. Again you'll need to choose your platform and install it

No comments:

Post a Comment