Monday, Oct 23rd

Last update12:59:40 PM GMT

Java Refresher - JDK & JRE

Write e-mail

Java is highly modular which means that it has many components that can function independently of each other. The following is a very basic breakdown of the Java platform.

argaiv1874

Java

Java Editions

Java is delivered in two main editions: Java 2 Standard Edition (J2SE) and Java 2 Enterprise Edition (J2EE). J2SE is also known as core java and can be used to write many types of programs which includes networking applications, graphical desktop applications, and "applets" which are often integrated into web pages. J2EE, also known as enterprise edition, is used to develop component-based, multi-tier enterprise applications which are mainly web applications.

The Java Runtime

In order to run Java applications, a computer has to have the J2SE Runtime Environment (JRE) installed. The JRE includes the Java Virtual Machine (JVM). As mentioned in the article Java Refresher I, the JVM is the software that translates Java into your machine's native language. So, someone running Windows on an Intel x86 machine, would install the Windows version of the JRE.

The Java Development Kit

As a programmer, in order to write a program, you'll also need the J2SE Development Kit (JDK). The JDK includes everything you need to compile, debug, and run your Java applications. As a developer, you need an IDE(Integrated Development enviroment) than just a notepad to write programs. Eclipse is one of the best IDE and you can download it from Eclipse downloads section according to your OS.

Now, I would like to mention the simple steps to install JDK on yur system

  1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Click the download button in JDK section within "Java SE 6 Update 26" section.
  3. You will find options and select according to your operating system. For 32-bit windows, you can download the "Windows x86" file.
  4. Follow the instruction on the installation window to finish the installation.
  5. Open a command window to try the java command. If you are getting the following output, your installation is ok:

C:\Users\Nipun Arora>java -version
java version "1.6.0_26"Java(TM) SE Runtime Environment (build 1.6.0_26-b02) 
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

Share this post



Add comment

Please refrain from using slang or abusive language in the comments.
To avoid waiting for your comment to be published after being reviewed, please log in as a registered user.


Security code
Refresh

Web Hosting