RE: package problem

1999-09-12 Thread GC-Braswell, Peter
r". Happy hacking, peter -Original Message- From: Roland Silver [SMTP:[EMAIL PROTECTED]] Sent: Saturday, September 11, 1999 6:57 PM To: [EMAIL PROTECTED] Subject:package problem I have a problem with packages that has me stumped. I

RE: package problem

1999-09-11 Thread Vartan Piroumian
Roland, Give the package name foobar.Foo to the VM. Otherwise, it's looking for a file Foo.class in your current directory, but you moved it to directory foobar. See trace below. Vartan $ pwd /home/vartan/scratch $ ls Bar.java Foo.java READMEfoobar $ javac *.java $ ls Bar.class Bar.j

Re: package problem

1999-09-11 Thread Ted Neward
won't let me." --Me -Original Message- From: Roland Silver <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Saturday, September 11, 1999 5:57 PM Subject: package problem >I have a problem with packages that has me stumped. I've boiled it >down to

Re: package problem

1999-09-11 Thread Chris Kakris
Roland Silver wrote: > > > 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.

package problem

1999-09-11 Thread Roland Silver
I have a problem with packages that has me stumped. I've boiled it down to two simple classes, defined in Foo.java and Bar.java; both are in the directory /home/rollo/Java/foobar on my i386 Linux machine. //Foo.java package foobar; import java.util.*; public class Foo { public Foo() { B