Index: [thread] [date] [subject] [author]
  From: Garrett Mitchener <wgm2@duke.edu>
  To  : 
  Date: 15 Apr 1999 19:37:58 -0400

Re: compile pixmap

Wen Zhang <zhangw@duke.edu> writes:

> In order to compile pixmap, what should I need to do?
> I made package pixmap and package util. 
> But when I do: javac Main.java
> I get:
> javac Main.java
> Main.java:55: Class pixmap.Viewer not found in type declaration.
>       Viewer view = new Viewer(f);
>       ^
> Main.java:55: Class pixmap.Viewer not found in type declaration.
>       Viewer view = new Viewer(f);
>                         ^
> 2 errors                    
> 
> Wen

I think you have a problem with your CLASSPATH environment variable.
Make sure the directory above pixmap/ is part of your CLASSPATH,
something like

setenv CLASSPATH ~me/java:$CLASSPATH

where the various .java files are in ~me/java/pixmap/

	-- Garrett :-)



Index: [thread] [date] [subject] [author]