error importing with javac
843810Nov 21 2006 — edited Nov 21 2006I am trying to compile code which was last compiled under JDK 1.2 (!). The code consistst of 2 packages - one is dependent upon the other.
The low-level package (aka Utils) builds without error. However, the other lib generates an error when it reaches an import statement of the 1st package. See below:
C:\GUITools>javac -cp .;C:\Utils *.java
CalendarTable.java:8: package Utils does not exist
import Utils.*;
For kicks, I placed the Utils.jar file into the GUITools directory. The Utils package was still not found.
I have set CLASSPATH is include both directiores in question. This code used to complie and run. So the question is: is my environment configured incorrectly? Or are there new requirements imposed by ver 1.5 of javac.exe?