If you encounter any problems
while completing these tasks, feel free to email the course account:
cs111-staff @ cs . bu . edu
In general, you should use this email address for course-related
questions, because doing so forwards your email to all staff
members and increases the likelihood of a quick reply.
After you have completed the instructions for creating an account,
show your BU ID to someone at the window. You are then free to
leave the lab.
(Note: You can also use these tools on the computers
in the undergraduate lab. The JDK is already installed on
those machines, and Lab 1 will show you how to install and use DrJava
from within your CS account. If you would like to use DrJava on
the lab machines before your first lab meeting, please send us an email.)
Next, press the Compile button to compile the program.
If the compiler gives you an error message, it may mean that you
have a typo in your program. Check the offending lines, fix them as needed,
and recompile until you don't see any error messages.
Finally, press the Run button to run the program.
Here are the steps:
public class MessagePrinter {
public static void main(String[] args) {
System.out.println("****************");
System.out.println("* Go Terriers! *");
System.out.println("****************");
}
}
Once you have finished, press the Save button and save the program
someplace where you will be able to find it again (e.g., on your Desktop).
You should not need to enter the name of the file -- DrJava will
provide it.
Note: WebSubmit occasionally becomes inaccessible because of
problems with the University's password server. If you encounter
problems, close your browser and start again, or try again later
if you still have time. If you are unable to submit and it is
close to the deadline, email your homework before the deadline
to cs111-staff @ cs . bu . edu.
MessagePrinter.java). Then
use the Upload Files button to submit it.
.java files
as if they were text files, with no extension. For example,
if you don't see a file named MessagePrinter.java
and you do see a file named MessagePrinter,
that is most likely the file that you should submit.