|BlueJ Version Used in Class|
|Latest BlueJ Version:||3.0.5|
|Latest VT-CS Installer:||vtbluej-305-407.exe (v3.0.5)|
|Mac OS X Installer:||vtbluej-osx-305-407.zip|
|All other OSes:||vtbluej-305-407.jar|
|Student Package:||student.jar (v4.08 10/20/2011)|
|Official Home:||BlueJ Home Page|
The most recent release of
posted on 10/20/11. See the section below on upgrading your installation for instructions on
Upgrading Your Installation to the Latest Release
Installing on Mac OS X
Download the Java SDK
Go to the JDK download page at java.sun.com and click on the download button for the Java SE Development Kit (JDK) 7 Update 5 (or the newest update, if there is one newer when you are reading this, but not RC (release candidate) versions). On the next page, select your platform and agree to the terms, then download the file for your platform.
Install the Java SDK on your machine
Execute the downloaded file to install Java JDK 7 (named something like
Download and install 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.
For windows users, simply download the self-installing executable at the top of the page and execute it. We recommend installing to the location
c:\BlueJ, which is the default for the installer.
For Mac users, simply download and unzip the distribution at the top of this page. Drag the entire
BlueJ 3.0.5 folder to your Applications folder to install. Before launching BlueJ, you will need to temporarily disable OS X's Gatekeeper. This feature was turned on by default back in Mountain Lion. Gatekeeper attempts to keep malware from running on your computer, and one of the things it does is report any unsigned program (that is, not digitally signed with an Apple-issued electronic developer signature, which is required for apps in the App Store) as "damaged and can't be opened". This message is misleading, however--the app isn't damaged, but just doesn't meet the App Store's signature criteria. Since BlueJ isn't digitally signed by a developer registered with Apple, Gatekeeper by default balks, giving this misleading message.
The fix: In System Preferences > Security & Privacy set "Allow applications downloaded from:" to "Anywhere". You have to click the lock in the bottom left corner, the one that reads "Click the lock to make changes."
After that, start
BlueJ.app and it should launch successfully. Once it is running, you can reset the Gatekeeper setting back to whatever it was before (typically "Mac App Store and Identified Developers"). Basically, this simply instructs Gatekeeper to "look the other way" for a short time, and then restores it.
For other platforms, a pure Java version is provided at the top of this page.
As the result of changes in the
student package over
time, new versions of the library file
may be posted on this web site. You can update your BlueJ installation to the latest version easily using these instructions.
Exit BlueJ, if it is running.
Download the latest version of the student.jar file.
BlueJ\lib\userlib folder and copy the
student.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 using Mac OSX, this folder will be at
/Applications/BlueJ.app/Content/Resources/Java/userlib. In the finder, Ctrl-Click your BlueJ.app and select "Show Package Contents" to navigate inside it and find the correct folder.
If you are unsure which version of
student.jar you have installed, type the following line into BlueJ's code pad (the pane to the right of the object bench--use View->Show Code Pad if it isn't visible):
When you press <Enter> after this command, BlueJ will print out the current version information for your installed copy of the jar on its terminal window:
student.Version: package student, v4.08 $Date: 2011/10/21 02:39:37 $
Alternatively, you can also 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 -jar C:/BlueJ/lib/userlib/student.jar student.Version: package student, v4.08 $Date: 2011/10/21 02:39:37 $
Download and unzip vtbluej-osx-304-403.zip Then drag the BlueJ icon to your application folder.