CSSE 230 — Data Structures and Algorithm Analysis
Weiss Package Installation Instructions
- These files will be useful in understanding code that is in the
textbook, since they should enable you to experiment with that code.
You might also want them for some of the programming assignments.
-
Go to the
Weiss-source folder on the course web space.
Open
code.zip
and copy the two .jar files, wnonstandard.jar
and wutil.jar
,
within it into the jdk/jre/lib/ext folder on your laptop. On Windows this will be something like: C:\Program Files\Java\jdk1.7.09\jre\lib\ext
-
Use Windows Explorer (not Internet Explorer) to look in that folder to
see that the jar files are there. Some web browsers change the
extension from
.jar
to .zip
when it downloading the files. If yours is so rude, change the extensions back to .jar
.
-
(Optional) While you have your web browser open to the Weiss-source folder, you may also want to copy the
code.zip
(source code) and docs.zip
(javadoc) files from the textbook-files folder, and unpack them (using
WinZIP or WinRAR) to wherever you are putting your CSSE 230 materials.
- In Eclipse, choose the project that you want
to add Weiss' libraries to , then select Build Path > Add External
Archives ... and browse to where you stored the jar files. Select
wutil.jar
and wnonstandard.jar
. - Your project should now be able to use Weiss code.
- Alternatively,
if you want to modify the JDK so every project uses Weiss' code, you
can choose Window > Preferences > Java > Installed JREs.
Select jre7 (or 8) and choose Edit.. In the next window, choose Add
External JARs and browse to and select
wutil.jar
and wnonstandard.jar
.