Supplement I.B: Installing and Configuring JDK 1.6



Similar documents
Supplement I.B: Installing and Configuring JDK 1.6

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

How to setup a VPN on Windows XP in Safari.

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Virtual Office Remote Installation Guide

How to Install Java onto your system

How schedule AccuTRConsole to run every hour

Updating Your Applied Account

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

How do I find the Wireless Security Information in Windows XP, Vista, 7, 8 or 8.1?

A. BACK UP YOUR CURRENT DATA. QuickBooks Business Accounting Software for Windows Account Conversion Instructions

4cast Client Specification and Installation

How to Install and Setup IIS Server

Hosted VoIP Outlook TAPI Integration

Set Up Setup with Microsoft Outlook 2007 using POP3

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

BSDI Advanced Fitness & Wellness Software

SAS 9.3 Foundation for Microsoft Windows

Como configurar o IIS Server para ACTi NVR Enterprise

User Guide Microsoft Exchange Remote Test Instructions

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

The purpose of this document is to describe how to connect Crystal Reports with BMC Remedy AR System using ODBC.

ilaw Installation Procedure

Configuration for Professional Client Access

Citrix Client Install Instructions

Matisse Installation Guide for MS Windows. 10th Edition

Lab - Configure a Windows Vista Firewall

Computer Science and Engineering Windows Cisco VPN Client Installation and Setup Guide

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

Microsoft XP Professional Remote Desktop Connection

Installing the Android SDK

Tufts VPN Client User Guide for Windows

How to install and use the File Sharing Outlook Plugin

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Supplement I.C. Creating, Compiling and Running Java Programs from the Command Window

Getting Started using the SQuirreL SQL Client

Setting up Your Acusis Address. Microsoft Outlook

Windows XP Exchange Client Installation Instructions

SHORETEL CALL MANAGER Installation Instructions:

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Installation Instruction STATISTICA Enterprise Small Business

Eclipse installation, configuration and operation

Installing FileMaker Pro 11 in Windows

Network Connect Installation and Usage Guide

INSTALLATION INSTRUCTIONS FOR UKSSOGATEWAY

Motorola Phone Tools. Quick Start

eduroam wireless setup guide for Windows 7, XP and Vista

Sophos UTM. Remote Access via PPTP Configuring Remote Client

BSDI Advanced Fitness & Wellness Software

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

How To Install Database Oasis On A Computer Or Computer (For Free)

XStream Remote Control: Configuring DCOM Connectivity

Contents. VPN Instructions. VPN Instructions... 1

CISCO VPN CLIENT INSTALL AND UPDATE INSTRUCTIONS

Installing the TAPI Support Software

SAS Installation via the Client-Server Image (CAHNRS Site License)

Yale Software Library

Practice Fusion API Client Installation Guide for Windows

Java. How to install the Java Runtime Environment (JRE)

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

HELP DOCUMENTATION E-SSOM DEPLOYMENT GUIDE

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

BRIC VPN Setup Instructions

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

In this lab you will explore the Windows XP Firewall and configure some advanced settings.

ABS2020 Moving Airfreight Forward

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

APIS CARM NG Quick Start Guide for MS Windows

Global Image Management System For epad-vision. User Manual Version 1.10

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Microsoft Office 365 with MailDefender

Quick Reference Guide: Business Mail

Inmagic ODBC Driver 8.00 Installation and Upgrade Notes

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Connecting to LRDC Fileserver Remotely Using Windows Vista/7 & SRemote VPN

Wireless Printing Setup Guide

How to Configure Outlook Client for Exchange

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

ContentWatch Auto Deployment Tool

freesshd SFTP Server on Windows

MyNetFone Virtual Fax. Virtual Fax Installation

To add Citrix XenApp Client Setup for home PC/Office using the 32bit Windows client.

How to Connect to Berkeley College Virtual Lab Using Windows

Installation Instruction STATISTICA Enterprise Server

Configuring Devices for Use with Cisco Configuration Professional (CCP) 2.5

Install and configure SSH server

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Lab - Configure a Windows XP Firewall

Manual of UPClink VPN.UPC.EDU (For Windows 7)

Migrating MSDE to Microsoft SQL 2008 R2 Express

BankLink Books Clients

Installing Primavera P6 Professional R8.2

This walk-through was created using Windows XP as a guide, however alternate versions of the Windows OS will be very similar in procedure as well.

Pre-Requisites: PC and Browser Configuration Guide v1.3

BitLocker To Go User Guide

How to Install a Network-Licensed Version of IBM SPSS Statistics 19

Outlook 2010 Setup Guide (POP3)

How to connect to VUWiFi

Transcription:

Supplement I.B: Installing and Configuring JDK 1.6 For Introduction to Java Programming Y. Daniel Liang This supplement covers the following topics: Downloading JDK 1.6 ( 1.2) Installing JDK 1.6 ( 1.3) Configuring JDK ( 1.3) Verifying Configurations ( 1.4) 1.1 Downloading JDK 1.6 You can download the latest JDK 1.6 from http://java.sun.com/javase/downloads/index.jsp. Consult with your instructor to download an appropriate version and update. 1.2 Installing JDK 1.6 on Windows Assume that you have downloaded the file named jdk-6- windows-i586.exe. (Since Java is frequently updated, the file you have downloaded may be named slightly differently. For example, you may get a different name such as jdk-6u7- windows-i586.exe.) Follow the steps below to install JDK 1.6: 1. Double click jdk-6-windows-i586.exe to run the installation program. You will see the JDK License dialog displayed, as shown in Figure 1. 2. Click Accept to display the JDK Custom Setup dialog, as shown in Figure 2. 3. You may install JDK in a custom directory. For simplicity, don t change the directory. Click Next to install JDK. After a while, the JRE Custom Setup dialog is displayed in Figure 3. 4. You may install JRE in a custom directory. For simplicity, don t change the directory. Click Next to install JRE. 5. After installation completed, the Complete dialog is displayed in Figure 4. Click Finish to close the dialog. Copyright Y. Daniel Liang, 2005 1

Figure 1 You have to accept the license in order to install JDK. Figure 2 The JDK Custom Setup dialog enables you to choose a custom directory for JDK files. Copyright Y. Daniel Liang, 2005 2

Figure 3 The JRE Custom Setup dialog enables you to choose a custom directory for JRE files. Figure 4 The Complete dialog indicates a successful installation. Copyright Y. Daniel Liang, 2005 3

1.3 Configuring JDK 1.6 on Windows To configure JDK is to make it available in the operating system so that Windows can find your JDK commands such as javac. 1.3.1 Configuring JDK on Windows NT, 2000, XP, and ME To configure JDK on Windows NT, 2000, ME, and XP, set the environment variables as follows: 1. Right-click the My Computer icon on your desktop to display a context menu. Choose Properties from the context menu to open the System Properties window, as shown in Figure 5. (This screen shot is taken from Windows XP. For Windows 2000, NT, and ME users, the System properties window may look slightly different.) 2. In the System properties window, click Environment Variables in the Advanced tab to display the Environment Variables window, as shown in Figure 6. Figure 5 The System Properties window contains system information. Copyright Y. Daniel Liang, 2005 4

Figure 6 The Environment Variables window enables you to set user and system variables. 3. You can set or modify user variables or systems variables. User variables affect the individual users and system variables affect all the users in the system. In the User variables section, select PATH and click Edit if PATH is already a user variable. Otherwise, click New to display the New User Variable window as shown in Figure 7. Figure 7 The New User Variable enables you to set a new user variable and its value. Copyright Y. Daniel Liang, 2005 5

4. Type PATH in the Variable field and c:\program Files\Java\jdk1.6.0\bin;%path% in the Variable Value field, as shown in Figure 4. Click OK. NOTE: You don t have to reboot the computer, but you have to open a new command window to use JDK commands. NOTE: If you download a new version or an update version, the directory name jdk1.6.0 may be slightly different. For example, the directory name is jdk1.6.0_02 for JDK 1.6 Update 2. 1.3.2 Configuring JDK on Windows Vista Follow the steps below to configure JDK on Windows Vista: 1. Left-click on the Start button and choose Control Panel System and Maintenance System Advanced system settings. At User Account Control, type an administrator password and then click OK to display the System Properties window. 2. Same as Steps 2-4 in Section 1.3.1. 1.4 Verifying Configurations To verify whether JDK 1.6 is configured correctly, type javac version from the command prompt, as shown in Figure 8. Figure 8 The javac command is not found if JDK is not properly configured. Copyright Y. Daniel Liang, 2005 6