UMass Lowell Dept. of Computer Science

91.461 GUI Programming I

Fall 2015 Semester, Section 201

Prof. Jesse M. Heines

Assignment No. 1

Setting Up to Take This Course

Date Due:  Thursday, September 3, 2015


Contents


What This Assignment Is About     Top

This is not a graded assignment.  However, this assignment is critical because you need to have a local web server on your own system to do proper web development.  This write-up therefore leads you through installing XAMPP, a package that integrates a complete web development environment on either Windows or Macintosh systems.  The standard practice throughout this course will then be to do development on your own system and then upload your web pages to the CS server so that all of us -- me as your professor, our teaching assistant and/or graders, and even other students — can view your work.

It is critical that you do this assignment by our second class of the semester:  Thursday, September 3, 2015.  That way, if you have problems, we will have time to address them before the second assignment is due, which will be just days after that.  Don’t procrastinate.  Get the semester off to a good start.  Install XAMPP over the weekend (if not sooner) to ensure that you have it up and running before our second class.  If you have problems, use the Piazza discussion forum to get help from your classmates, our teaching assistant, and me.

The current XAMPP 5.6.12 installation for either Windows (32- or 64-bit systems) or Mac (OS X) systems includes


What You Are To Do     Top

(1)  Complete Your Course Registration

  1. Begin by completing your registration for this class using the Google form posted at

    https://docs.google.com/forms/d/166cx_uRhYJ24qoI-zMrs1dpWVyOw5iloQ-ojjF41lv4/viewform

  2. Next, join the Piazza class discussion forum so that you can get help from your classmates, our teaching assistant (TA), and me if you need it, and likewise provide help to others where you can.  We will use this forum throughout the semester for all course-related communications outside of class, so it is critical that you register on it or you will miss important class announcements.
     
  3. If you have not already done so, please complete the pre-course survey at

    https://docs.google.com/spreadsheet/viewform?formkey=dHJncHhVdEdHMEFJZ2lsVmEzVmJwM1E6MA


(2)  Get a Web Server Up and Running on Your System    Top

Macintosh Users

If you are a Macintosh user, there is already a web server installed on you system.  However, there are some advantages to using XAMPP rather than the built-in server.  To install XAMPP, follow the directions for Windows Users below.

Here are the steps to enable what on the Mac is called “web sharing” (covered in Lesson 1, Step 8)

  1. click the Apple Icon
  2. select System Preferences
  3. select Sharing (under “Internet & Wireless”)
  4. check to see if Web Sharing is enabled (checked)
    • if it is, note the information about your IP address, etc.
    • look for a message such as:  Your personal website address is: http://192.{something}/~{something}/
  5. click the Create Personal Website Folder button, which then changes to Open Personal Website Folder
    • this opens a folder named Sites, which is under the Home directory
    • to find this folder, using the Finder or click Home in the Go menu, and note Sites is the list of subfolders
  6. put your HTML files in the Sites folder for them to be available via http://192.{something}/~{something}/

Windows Users

First, if you already have any of the XAMPP components on your system, you may wish to uninstall them

When you’re ready to do the installation

  1. go to http://www.apachefriends.org/en/xampp-windows.html
  2. scroll down (if necessary) to the XAMPP for Windows section and click the Download button for Version 1.8.3
  3. the easiest installation package is the XAMPP Windows 1.8.3 Installer Version
  4. click the Installer link to download the EXE file, run that file, and follow the directions to complete the installation


(3)  Installing NetBeans     Top

Note:  This installation is optional.  Some of you may already have NetBeans or Eclipse installed.  I use NetBeans simply because it existed before Eclipse and I am used to it, as I have been using it for years.  It isn’t important which Integrated Development Environment (IDE) you use, but it is important that you use one to develop code (rather than a plain text editor) to learn how to do so.  A professional IDE will help you manage your work as the number of related files gets large.


Installing NetBeans on Windows Systems

On Windows systems, you need to install the Java Development Kit (JDK) before installing NetBeans, or install the JDK+NetBeans bundle

Installing the bundle

Testing Java


Installing NetBeans on Macintosh Systems

On Mac OSX, Java is already installed.  You can verify this by opening a terminal window and entering the commands shown below.

Note #1:  Your version numbers will almost certainly be different from those below, but the commands themselves should give you similar messages.

Note #2:  You may have to set your system PATH environment variable for these commands to work from the command line.

Jesses-MacBook-Pro::~ > java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

Jesses-MacBook-Pro::~ > javac -version 
javac 1.8.0_20

To install NetBeans, all you need to do is to download and install the DMG “All” package from http://netbeans.org/downloads


Checking for NetBeans Updates

Once NetBeans is installed (on either system), check for updates as follows (click the figure to enlarge it)



Submitting Your Assignment for Grading     Top

There is nothing you need to submit for this assignment.  If everything discussed above works, you’ll be all set for Assignment No. 2.


How You Will Be Graded     Top

As noted on the first page, this is not a graded assignment.  However, it is critical for you to set up your system so that you are ready for the next assignment.  In addition, there will be a quiz on the material in the Learnable course.



This is document http://jesseheines.com:8080/~heines/91.461/91.461-2015-16f/461-assn/InstallingXAMPP-v03.jsp.  It was last modified on Friday, August 26, 2022 at 4:09 PM.
Copyright © 2022 by Jesse M. Heines.  All rights reserved.  May be freely copied or excerpted for educational purposes with credit to the author.