ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Making Java Objects Comparable
Subject:   package
Date:   2003-03-18 01:48:37
From:   jczeus
Response to: package

Perhaps you didn't create the directories: it's important that you create comparable\ex03\ in a directory that's in your CLASSPATH and put the two sourcefiles there.
Then execute
javac comparable\ex03\Testing.java
and
java comparable\ex03\Testing
and it should work okay.