CS115 - PowerPoint PPT Presentation

About This Presentation
Title:

CS115

Description:

CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK) By George Koutsogiannakis * Download the JDK Go to the web site: http://www.oracle.com/technetwork/java/javase ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 6
Provided by: Geor4158
Learn more at: http://cs.iit.edu
Category:

less

Transcript and Presenter's Notes

Title: CS115


1
CS115
  • HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
  • By George Koutsogiannakis

2
Download the JDK
  • Go to the web site
  • http//www.oracle.com/technetwork/java/javase/down
    loads/index.html or follow the links provide in
    the courses web site.
  • Click on the first icon JAVA PLATFORM JDK 7
  • Accept the agreement for the download by clicking
    at the top of the table the accept agreement
    button.
  • Next choose your Operating System in your laptop
    (Windows for example). You probably want to click
    on the last choice (bottom link- windows 64) if
    you have windows or MAC environments. Click on
    that link.
  • Save the downloaded file in a known folder in
    your laptop.
  • After the download is complete, go to the folder
    where the file wa sdownloaded and click on it.
  • The installation starts and it would take few
    minutes. YOU ARE NOT DONE AFTER THE INSTALLATION
    IS COMPLETE.

3
Set the PATH Variable
  • Using windows explorer (for window systems), go
    to Program Files-gt Java-gtJdk1.7-gtbin. From the
    top of your windows explorer window copy the path
    to the bin folder by right clicking the mouse and
    choosing copy. The path should look something
    almost like this (it depends on your system)
  • C\Program Files\Java\jdk1.7.0\bin
  • Next you need to set an operating system variable
    named PATH so that the command to start the java
    compiler or interpreter can be recognized from
    anywhere in your directory structure (any
    folder).
  • Open Control Panel and chooseSystem
  • Click on the Adavnced System Settings link.
  • In the pop up window click on environment
    variables and choose Advanced.
  • At the top table you will see a variable named
    PATH.

4
Set the PATH Variable
  • Click the Edit button.
  • In the edit text field place a semicolon at the
    end () of any existing paths (if there is not
    one there already).
  • PASTE the path you copied from your laptop after
    the semicolon.
  • Press O.K. and close all windows opened.
  • Restart your computer.
  • When the computer is up and running again
  • Open a DOS window.
  • Type the command to start the compiler without
    giving it a program name i.e.
  • gtjavac

5
Set the PATH Variable
  • If the installation and the PATH setting were
    done correctly the compiler will give you an
    error message with an indication of the proper
    commands to use.
  • If the PATH was done incorrectly then a message
    will appear like
  • Command not recognized
  • In that case you will have to repeat the entire
    process of setting the PATH.
  • SEE ME IF YOU HAVE ANY QUESTIONS OR IF YOU FEEL
    MORE COMFORTABLE TO DO IT IN MY PRESENCE.
Write a Comment
User Comments (0)
About PowerShow.com