COMP102/112: Working at home
Virtual labs at Home
Please download and install OBS Studio
on your own computer.
gives more instructions on how to download.
Using Java at Home
To do your COMP 102/112/103 Java programming on your own computer (Windows, Mac, or unix), you will need to
- Install a copy of Bluej version 5.0.2 (this comes with its own copy of the Oracle JDK 11 (Java Development Kit))
- Download the
- Configure your BlueJ
- Copy the Assignment files to your PC
The instructions below describe first what you need to do with a Windows computer, then what you need to do for a Mac. For unix, you are on your own, but see the bluej.org web pages!
Installing on a Windows computer (Windows 7 or later):
Step 1: Installing BlueJ and JDK
You can download and install the 5.0.2 version of BlueJ that includes JDK from https://www.bluej.org/download/files/BlueJ-windows-502.msi
Note: If you download the "Standalone" version
of BlueJ, then you can copy it to a USB stick and run BlueJ from the USB stick without installing it. This would let you use BlueJ on the computers in university student computing labs. You still need the
Step 2: Setting up the
To write and run the programs for this course, you will need the ecs100 library file
, which contains essential resources for the programs. (You will need this whether or not you are using BlueJ.)
Download the file ecs100.jar
to your computer and then copy (or move) it to
directory. (right click on the link, and choose "save
as".) (Note that the location of the Bluej directory will be different if you have a mac or a unix computer).
Sometimes this doesn't work correctly. One cause is that when downloading ecs100.jar from
the website using internet explorer, the file may be saved as ecs100.zip. If
this is the case bluej will not load it. To fix, simply rename the file back to
You can also manually add the ecs100 class into Bluej if it's not doing so automatically:
Do you have a Surface Pro?
- In BlueJ go to Tools --> preferences
- Click on the libraries tab.
- Click add and select ecs100.jar
(or other very high resolution screen). If the UI window is very small when you run your programs, then you may need to use an alternative version of the
library. Download this version
, rename it to
and use it in place of the version below.
Installing on a Mac (OS X 10.11 or later)
Install Bluej. You can download the version 5.0.2a, specific to Mac OS, that includes JDK from https://www.bluej.org/download/files/BlueJ-mac-502a.zip
To write and run the programs for this course, you will need the ecs100 library file, which
contains essential resources for the programs. (You will need this whether or not you are using BlueJ.)
Download the file ecs100.jar
to your computer.
To install it into BlueJ,
- Open the Applications folder (where you would have installed BlueJ)
- Right click on the BlueJ icon and select "show package contents"
- In the Contents, open resources, then Java, then userlib.
- Copy or move ecs100.jar from where you downloaded it into the userlib folder.
- If BlueJ is open, restart it.
You can check that BlueJ can access the file by opening preferences (inside BlueJ) and chosing the "Libraries" tab. The ecs100.jar file should be listed at the bottom of the window. If not, you can add it by clicking "add" and browsing to find the ecs100.jar file.
Transferring files between your home computer and your directory at VUW
Most of the files that we provide can be downloaded to your home computer
from the course web pages (particularly the lecture and assignments pages).
If you want to transfer the files you have written, you may use a USB memory
stick to carry the files between computers, or use a cloud drive such as google drive. You can also transfer files
to/from home via the internet using an application that supports the scp secure
copy protocol. WinSCP
is good for Windows. See the
Working From Home
technical note page for