Posted By:
PhiDi_TranThi
Posted On:
Monday, July 8, 2002 11:31 AM
when I try to import a user-defined package,the package util, in my java file as the following: package magenta.app.imsServer; import java.io.PrintStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.File; import java.util.Vector; import java.util.Date; import java.net.DatagramPacket; import java.net.InetAddress; import java.net.UnknownHostException; import magenta.util.MException; import magenta.util.MError; import magenta.util.Util; import magenta.util.Shutdownable
More>>
when I try to import a user-defined package,the package util, in my java file as the following:
package magenta.app.imsServer;
import java.io.PrintStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.File;
import java.util.Vector;
import java.util.Date;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.UnknownHostException;
import magenta.util.MException;
import magenta.util.MError;
import magenta.util.Util;
import magenta.util.Shutdownable;
import magenta.util.OnShutdown;
The util package is under C:aircanadamagentautil directory which includes all the java files above and more. I also have set the Classpath, path enviroment variables pointing to these directories but my compiler still does not recognize this package and generate the following error message:
"package magenta.util does not exist" for each of the file that's imported from the util packages...
Could some one help.
Thanks and regards,
PhiDi Tran.
<<Less