java development kit

Download Java Development Kit

If you can't read please download the document

Upload: ula

Post on 09-Jan-2016

34 views

Category:

Documents


3 download

DESCRIPTION

Java Development Kit. Sun Microsystems. Installation Guide. Downloading Java Development Kit. Java Development Kit (JDK) Downloading JDK Installer. If you do not have JDK setup, follow these instructions to download Go to the link http://java.sun.com/javase/downloads/index.jsp - PowerPoint PPT Presentation

TRANSCRIPT

  • Java Development KitInstallation GuideSun Microsystems

  • Downloading Java Development Kit

  • If you do not have JDK setup, follow these instructions to downloadGo to the link http://java.sun.com/javase/downloads/index.jspUnder the Section Java SE Development Kit (JDK) Click on Download Button (on the next page) Select Platform (like Windows)Check the License Agreement checkboxClick on Continue button(normally download begins after this stage, but sometimes it ask for a few other options)In the middle of the (visible) page there would be a link under section Java SE Development Kit xUyy (i.e 6U16)Right click on the Link save target as (define path where you want to save your download) Java Development Kit (JDK)Downloading JDK Installer

  • Java Development Kit (JDK)Downloading JDK Installer

  • Java Development Kit (JDK)Downloading JDK Installer

  • Java Development Kit (JDK)Downloading JDK Installer

  • Java Development Kit (JDK)Downloading JDK Installer

  • Java Development Kit (JDK)Downloading JDK Installer

  • Installing Java Development Kit

  • Double Click the JDK setup, which you have downloadedJava Development Kit (JDK)JDK Installation

  • Click on Accept button on License Agreement dialogue boxJava Development Kit (JDK)JDK Installation

  • Keep the Default Setting (recommended)Keep the Install to path as default (recommended)Click on Next buttonJava Development Kit (JDK)JDK Installation

  • The Installation would begin nowPlease wait for a while, until the setup would finish the InstallationJava Development Kit (JDK)JDK Installation

  • Once the Installation is FinishedClick on Finish button to complete the setupJava Development Kit (JDK)JDK Installation

  • Java Development Kit - jdk 1.6_x

    Now Install the downloaded JDK as any other software

    Say You have installed it on normal path C:\Program Files\Java\jdk1.6.0_15\

    The Important thing is to setup the Environmental Variables for JDK.

    Follow the coming steps to Set your Environmental Variables correctlyJava Development Kit (JDK)JDK Installation

  • Setting Environmental Variables forJava Development Kit

  • Right Click on youre My Computer Icon and Click on Properties optionJava Development Kit (JDK)Setting JDK Environmental Variables

  • System Properties Dialogue Box would be displayed:Java Development Kit (JDK)Setting JDK Environmental Variables

  • Select Advanced Tab Click on Environmental Variable buttonJava Development Kit (JDK)Setting JDK Environmental Variables

  • A separate Environmental Variables Dialogue box would appear Which already contains two types of Values,, i.e. User Variables for user_xyz, and System Variables (or Global variables)

    We would set our Desired Variables in User Variable Section

    To set a User level Environmental VariableClick on New button, below the User Variable SectionJava Development Kit (JDK)Setting JDK Environmental Variables

  • Environmental Variable JAVA_HOME

    When You click on New button, a dialogue box would appear which would be having two fields Variable name and Variable value

    In Variable name field, put the value JAVA_HOME (case sensitive)

    and in Variable value field the value would be full path of Jdk Installation (where ever you have installed it) for example, In my case, it would beC:\Program Files\Java\jdk1.6.0_15\

    Then click on OK buttonJava Development Kit (JDK)Setting JDK Environmental Variables

  • Environmental Variable Path

    In Variable name field, put the value Path

    and in Variable value field value would be %JAVA_HOME%\bin

    Remember this %JAVA_HOME% is the reference to the environmental variable we have set previously,, and here the value would be %JAVA_HOME% followed by \bin(dont skip or ignore the backslash \)

    Then click on OK buttonJava Development Kit (JDK)Setting JDK Environmental Variables

  • Environmental Variable classpath

    In Variable name field, put the value classpath

    The value field would actually contain three values separated by semicolon ; and they are:

    . (a dot), JDK library path and JRE library path

    Thus the value would be like.;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib

    (its like dot . followed by semicolon ; then %JAVA_HOME% followed by \lib followed by another semicolor ; then %JAVA_HOME% followed by \jre\lib (note backslashes carefully)

    Then click on OK buttonJava Development Kit (JDK)Setting JDK Environmental Variables

  • Prepared by:Virtual University Open Source Software Community(VOSS Com.) [email protected] UNIVERSITY OF PAKISTANJava Development KitDownloading and Installation Guide