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

How schedule AccuTRConsole to run every hour

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

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

Virtual Office Remote Installation Guide

Updating Your Applied Account

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

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

4cast Client Specification and Installation

How to Install Java onto your system

How to Install and Setup IIS Server

How to install and use the File Sharing Outlook Plugin

Hosted VoIP Outlook TAPI Integration

Set Up Setup with Microsoft Outlook 2007 using POP3

BSDI Advanced Fitness & Wellness Software

SAS 9.3 Foundation for Microsoft Windows

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

Practice Fusion API Client Installation Guide for Windows

ABS2020 Moving Airfreight Forward

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

ilaw Installation Procedure

Citrix Client Install Instructions

Eclipse installation, configuration and operation

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

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

Matisse Installation Guide for MS Windows. 10th Edition

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

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

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

PC Troubleshooting Steps

Tufts VPN Client User Guide for Windows

Installing the Android SDK

Getting Started using the SQuirreL SQL Client

Setting up Your Acusis Address. Microsoft Outlook

Installing Primavera P6 Professional R8.2

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

Authorware Install Directions for IE in Windows Vista, Windows 7, and Windows 8

Installing FileMaker Pro 11 in Windows

Download and Installation Instructions. Java JDK Software for Windows

INSTALLATION INSTRUCTIONS FOR UKSSOGATEWAY

Network Connect Installation and Usage Guide

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

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

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

ATTENTION: End users should take note that Main Line Health has not verified within a Citrix

XStream Remote Control: Configuring DCOM Connectivity

Contents. VPN Instructions. VPN Instructions... 1

CISCO VPN CLIENT INSTALL AND UPDATE INSTRUCTIONS

Connecting To SOM Network Drives With Windows XP

Configuration for Professional Client Access

Installing the TAPI Support Software

Yale Software Library

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

HELP DOCUMENTATION E-SSOM DEPLOYMENT GUIDE

BRIC VPN Setup Instructions

How To - Install and configure the Symbience AL3 Download Client

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

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

Smart Control Center. User Guide. 350 East Plumeria Drive San Jose, CA USA. November v1.0

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

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

Quick Reference Guide: Business Mail

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

Microsoft Office 365 with MailDefender

APIS CARM NG Quick Start Guide for MS Windows

Wireless Printing Setup Guide

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Installation of IR under Windows Server 2008

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

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

ContentWatch Auto Deployment Tool

How to Configure Outlook Client for Exchange

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

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

Joining Windows machines to eduroam Using SecureW2

Lab - Configure a Windows Vista Firewall

Install and configure SSH server

Installation Instruction STATISTICA Enterprise Server

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

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

Migrating MSDE to Microsoft SQL 2008 R2 Express

BankLink Books Clients

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

BitLocker To Go User Guide

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.

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. The Windows version of JDK download file is named jdk-6-windowsi586.exe. NOTE: new versions or updates may be available. If you download a new version or an update version, the file name may be slightly different from jdk-6-windowsi586.exe. 1.2 Installing JDK 1.6 on Windows 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