Re: SET CLASSPATH
- From: Raymond DeCampo <nospam@xxxxxxxxxxxx>
- Date: Fri, 17 Jun 2005 01:58:48 GMT
Abdelhalim MIMOUNI wrote:
hi, i'm using the abstract class definition, and when compiling the abstract class it's ok, but the problem is when compiling the subclass: i get the following message:
Rect.java:9: cannot resolve symbol symbol : class GeoFigure location: class figures.Rect public class Rect extends GeoFigure ^ 1 error
the abstract class is called: GeoFigure; and the subclass is Rect
so how cn use the set classpath at command line, should it include the directory where are located all the package files(the abstract class and subclass .java files), or should it point at onel evel before the directory that contains the package files? thank's!
Suppose you have the class com.foo.Bar. The file Bar.class lives in the /home/xyzzy/classes/com/foo directory. Set your classpath to include the /home/xyzzy/classes directory.
HTH, Ray
-- XML is the programmer's duct tape. .
- Follow-Ups:
- Re: SET CLASSPATH
- From: Abdelhalim MIMOUNI
- Re: SET CLASSPATH
- References:
- SET CLASSPATH
- From: Abdelhalim MIMOUNI
- SET CLASSPATH
- Prev by Date: override method
- Next by Date: Re: SET CLASSPATH
- Previous by thread: SET CLASSPATH
- Next by thread: Re: SET CLASSPATH
- Index(es):