Skip to main content

Linux-Only Configuration Steps

1. Find the file bluej.defs, and Change the following line from:

bluej.vm.args=-ea

To

bluej.vm.args=-ea -Djava.library.path=.

2. This may affect other BlueJ projects, so be aware that you may need to change the line back if your other projects stop working.

Opening the Project

1.  Download the BlueFinch package and unzip it to a convenient directory.

2.  Open BlueJ. Use sudo if using Linux, or run this script to make it so regular users can access the Finch (credit: Justin Lee).

3.  Select File->Open Project and navigate to the SourceFiles directory (inside BlueFinch).

Running an Example File

1.  Click on a package to open it.

2.  In the package, click on the Compile button.

3.  Right-click on the program you wish to run and select “void main(String args[])”

Creating a file from the FinchTemplateFile

1.  Open the package you wish to add the file to.

2.  In the package, click on Edit->Add Class from File.  Navigate to the FinchTemplateFile (in SourceFiles).

3.  Open the FinchTemplateFile version in the package you selected by double clicking on it.  Change the name by changing the class declaration from “public class FinchTemplateFile” to “public class YourFileName”.

Creating a File from Scratch

1.  Click on Edit->New Class to create a new file.

Back to Top