Roland Silver wrote:
>
<snip>
>
> Current directory is /home/rollo/Java/foobar, and
> CLASSPATH specifies the following three paths:
> /usr/local/jdk117_v3/lib/classes.zip
> /home/rollo/TIJ/exercises
> /home/rollo/Java
>
> The command
> javac Foo.java
> compiles OK, as does
> javac Bar.java
> putting Foo.class and Bar.class in the foobar directory, but
> java Foo
> complains:
> Can't find class Foo
You need to specify the _complete_ name: ie, java foobar.Foo
Chris Kakris
"Ask not what Linux can do for you, but what you can do for Linux."
Dynamic Solutions Pty Ltd http://www.dynamic.net.au/christos
414 Gilbert Road [EMAIL PROTECTED]
Preston, Victoria 3072 61 3 94718224 - voice
Australia 61 3 94711622 - fax
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]