Re: extends "cannot be resolved to a type"
- From: Nigel Wade <nmw@xxxxxxxxxxxx>
- Date: Thu, 29 Mar 2007 14:08:20 +0100
Lew wrote:
Oliver Wong wrote:
Did you try compiling the files while ensuring that the current
directory be ~ben/docs/comp/lang/java/ ? Did you ensure that "." (the
current directory) is part of the CLASSPATH environment variable?
Ben Collver wrote:
Yes to the former, no to the latter. Adding "." to the CLASSPATH
environment variable fixes my problem on the Linux box.
My main system has no CLASSPATH environment variable. Since it has no
problem, I guess its Java has a built-in class path with "."
Java has no "built-in class path", but your Windows box might.
"Linux" box...
There is a built-in class path, or at least a default which amounts to the same
thing:
Standard Options
-classpath classpath
Sets the user class path, overriding the user class path in the
CLASSPATH environment variable. If neither CLASSPATH or
-classpath is specified, the user class path consists of the
current directory.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
.
- References:
- extends "cannot be resolved to a type"
- From: Ben Collver
- Re: extends "cannot be resolved to a type"
- From: Oliver Wong
- Re: extends "cannot be resolved to a type"
- From: Ben Collver
- Re: extends "cannot be resolved to a type"
- From: Lew
- extends "cannot be resolved to a type"
- Prev by Date: Re: Getting currency on a specific day ?
- Next by Date: Re: Algorithms
- Previous by thread: Re: extends "cannot be resolved to a type"
- Next by thread: How to handle long beans lists
- Index(es):