Java

Java is an object-oriented, platform-independent, robust Programming Language. It allows application developers to "write once, run anywhere". Java program is written in .java file and it is compiled by java compiler to bytecode in .class file. This bytecode runs on any JVM (Java Virtual Machine). This document is for Java Setup and Installation on Windows.
  • System Requirement

    To install Java on Windows, machine must have following system configuration. Here the version used is JDK 6u45 x64.
    • RAM: Minimum 64 MB
    • DIsk Space: 124 MB
    • Browsers: Internet Explorer 7.0 and above, Firefox 3.6 and above, Chrome
  • Installation Procedure

    Below are the steps for Java installation in Windows.
    • Locate the downloaded Java setup file jdk-6u45-windows-x64.exe on your machine. Double click on the executable to start installation.
      Java Setup Start
    • Click next, setup displays the Install to: path. The default path is C:\Program Files\Java\jdk1.6.0_45\, If you want to change the path to any other click on Change button. Click next to start installation.
      Java Install To Path
    • Java installer is installing the java files to the location provided in the previous step.
      Java Installing
    • Once Java installer completed installation, just close the installation window.
      Java Installer Close
    • To set Environment Variables for Java open the system properties, Environment Variables.
      System Properties
    • Create (if not exists) JAVA_HOME variable in system properties and provide the Java directory path to it.
      Java Home Variable Set
    • Update Path system variable by adding JAVA_HOME variable to it.
      Path Edit for Java Home
    • Open a new command prompt (WinKey + R) then type cmd, and run commands java -version and javac -version to verify that Java and Java Compiler are correctly installed.
      Path Edit for Java Home
Advertisement

7 thoughts on “Java

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.