[902] in java-interest

home help back first fref pref prev next nref lref last post

Simple Problem - HELP!

daemon@ATHENA.MIT.EDU (Andrew Carlson)
Mon Aug 14 17:49:40 1995

Date: Mon, 14 Aug 1995 17:12:05 +0000
From: andycarlson@attmail.com (Andrew Carlson)
To: java-interest@java.sun.com

Hi,

I have recently started experimenting with java but I have come across a very 
frustrating problem for which I can find no solution.

Basically, I can't seem to get javac to see any classes which are defined in 
source files other than the one being compiled, except that is, for the 
classes which come with java. I can, however, compile single files containing 
multiple classes just fine.

I've tried various values of CLASSPATH including the full path to the source 
directory and just '.' to no avail. I've also tried the -verbose switch which 
seems to confirm that the required source files are not being picked up and 
the -classpath switch which gave me different errors basically saying that 
javac could not find the error text (I think).

I've also tried running javac from another directory because I read something 
somewhere about not running something in the classes directory. (I've since 
checked that again and it was referring to the browser, not the compiler).

I also tried keeping all names less than 8 characters (yuck!) but that didn't 
help either.

I have also tried this on the source posted here recently by Doug Lea, which 
is supposed to be (and probably is) OK.

BTW I am using java for NT Alpha 2 on NT 3.5.1

Thanks in advance for any help
----------------------------------------------------------------------
Andy Carlson. AT&T ISTEL                Tel: +44 1527 494358
E-Mail: andycarlson@attmail.com         Fax: +44 1527 494318
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post