The BlueJ IDE @ VT

BlueJ
Latest BlueJ Version: 2.2.0
Latest VT-CS Installer: downloads\vtbluej-220-200.exe (v2.2.0)
CS 1705 Package: cs1705.jar (v1.13 04/12/2007)
Official Home: BlueJ Home Page

A new release of cs1705.jar was posted on 11/14/08. See the section below on upgrading your installation for instructions on installing it.

If you have difficulties during installation, check the section on common problems below.

Installing BlueJ

  1. Download the Java SDK

    • Go to the JDK download page at java.sun.com and click on the download button for JDK 6 Update 4 (or the newest update, if there is one newer when you are reading this). Do not download the NetBeans IDE bundle or the JRE distribution. On the next page, check the radio button to accept the license agreement, and then download the Windows Offline Installation

      Be prepared for a long wait if you are using a modem. The "Windows Offline Installation" is a little over 71MB. Although there is a smaller "Online installation", that simply downloads a network installer that, when run, will then download remaining files to complete the installation.

  2. Install the Java SDK on your machine
  3. Download the VT-CS BlueJ IDE
    • Note that we are not using the standard BlueJ version distributed from the BlueJ home page. We also are not using the BlueJ version distributed on CD with the text book. Instead, we have a custom installer just for this course. In addition to the materials in the standard distribution, the custom installer also includes the support classes used in class projects for this course, a local copy of The BlueJ Tutorial for your machine, a local copy of Unit Testing in BlueJ, and a few course-specific customization settings that are not part of the standard installer distributed from BlueJ's home. So be sure to use the course-specific installer.
    • Download the VT-CS custom installer for the BlueJ 2.0 integrated development environment.

  4. Install the VT-CS BlueJ IDE
    • Execute the downloaded VT-CS BlueJ 2.0 installer. Follow the instructions on screen. The installer will install the executable bluej.exe at the location you specify. Execute this to run BlueJ. A Start Menu shortcut and (optionally) a desktop shortcut for this program will also be added.

      If you have more than one Java version installed, BlueJ will let you select your preferred version the first time it is executed. This can be changed later by running the "vmselect" program, which will be installed into the same directory as BlueJ. For CS 1705, we use the JDK 6.

Upgrading Your Installation to the Latest Release

As the result of changes in the cs1705 package over time, new versions of the library file cs1705.jar may be posted on this web site. You can update your BlueJ installation to the latest version easily using these instructions.

  • Download the latest version of the cs1705.jar file.

  • locate your BlueJ\lib\userlib folder and copy the cs1705.jar file into it, overwriting the previous version. If you installed BlueJ in the default location, this folder will be at C:\BlueJ\lib\userlib; otherwise, locate it at the custom location where you installed BlueJ.

    If you are unsure which version of cs1705.jar you have installed, use the following command in a command line window (adjust the path name if your BlueJ installation is at a location other than the default).
C:\> java -cp C:/BlueJ/lib/userlib/cs1705.jar cs1705.Version
cs705.Version: package cs1705,
v2.10 2007-10-18

Installing on Mac OS X

A Mac VT CS BlueJ application is available. Download and unzip vtbluej-osx-220-200.zip.  Then drag the BlueJ icon to your application folder. 

Common Problems

  • When trying to install Sun's Java SDK using the internet-based installer (the default if you choose "Windows Installation"), some students have received the following error:

    The installer cannot proceed with the current Internet Connection proxy settings. Please check the installation notes for more information.

    Sun's download/install help says:

    If you are behind an authenticated proxy server, you must use the Windows Offline Installer instead.

    Yes, that means downloading the 71MB file first, and then installing from it.

Useful Links

Last modified: Monday, 10 July 2008, 2:25 PM