CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

7
CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment

Transcript of CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Page 1: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

CIS3931 – Intro to JAVA

26-May-05

Using JAVA in a Windows environment

Page 2: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Download JAVA 1.5 (5.0)

• Go to http://java.sun.com/j2se/1.5.0/download.jsp

• Download JDK 5.0 Update 3 (you can download the one w/ NetBeans if you want to)

Page 3: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Download JAVA 1.5 (5.0)

• Accept the licensing agreement• Select the appropriate distribution for your

operating system

• WARNING! – This download is very large (greater than 110MB)

• This download will take too long on a dial-up connection. If you would like me to burn you a copy of this, bring a blank CD to class.

Page 4: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Installing the JDK

• Execute the downloaded file

• The installer will ask you for destination (installation) directories. The default are sufficient.

• WARNING! – The final installation size is over 400MB. Please make sure you have space on your system prior to installing.

Page 5: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Installing the JDK

• Note to Windows XP SP2 users (and those with active firewalls)– The installation program will require access to

the internet. In SP2, please choose “unblock” when the dialog box pops up.

Page 6: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Installtion {something}

• Insert the CD that came with the book• Launch the CD• Choose “Browse CD Contents”• Choose Windows• Open the “Software” folder• Open the “JCreator” folder• Launch “setup.exe”• All the default options are ok …

Page 7: CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.

Using JCreator

• File New JAVA File

• Give it a name and location

• Write your program …

• Build (compile)

• Execute