[1222] in java-interest

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

problem improting interfaces under NT/95

daemon@ATHENA.MIT.EDU (Erik Robertson)
Sat Aug 26 18:25:03 1995

Date: Sat, 26 Aug 1995 11:49:02 -0700
From: Erik Robertson <erik@best.com>
To: java-interest@java.sun.com

Under Windows NT or Windows 95.

I have two files:

*firstFile: test/myInterface.java:

public interface myInterface {
	public void myVoid();
	}

which I compile without any problems. 
thus I get a file test/myInterface.class



*second file: test/myClass.java

import myInterface;
public class myClass implements myInterface {
	public void myVoid(){
		}
	void myOtherVoid() {
		}
	}

which I really can't compile:
I get the error message:
"myClass.java:2: Interface myInterface of class myClass not found."

I think that javac does not find the file myInterface.class, since it
doesn't look in the correct directories so I tried the -classpath but
I couldn't get it to work,
I must habe missed something...
If anyone could help me, this is really bothering me !!! 

thanks michel@mmania.com 
-
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