Software Tool Setup — COMP 110
None of these configurations are required for use in this class.
These are just suggestions for things that may make your life
easier in the long run.
- Eclipse
-
Turn assertions on. By default, assertions are turned off
in Java. This means all
assert statements are
ignored by the Java Virtual Machine. To enable (make
active) assert statements, you must set a
flag to the JVM. Go to Run -> RunConfiguration.. Select
the Arguments panel, and in the box labeled VM arguments:,
enter either -enableassertions or just
-ea. Apply the changes and close the dialog.
-
If you already have Eclipse but want to make sure all
plugins are up to date: Help->Software Updates ->
Find and Install
-
Javadoc — Javadoc is part of the Sun Java release, but
you must tell Eclipse where to find it. In Windows, search for
"javadoc.exe" (note that you may find it in two
different locations - use either location). If you do not find
it, you probably only have the jre and not the jdk installed.
Download the Java 1.6 jdk. Next, in the Eclipse workbench,
select Project -> Generate Javadoc and enter the location
in the textbox underneath "Javadoc command:". For
example, the correct location might be:
"C:\Sun\AppServer\jdk\bin\javadoc.exe". Hit finish
and say "Yes To All" when asked if you want the
Javadoc location to be in folder 'doc'.