[1144] in java-interest
Require to create package for compiled class in NT but not in Sun
daemon@ATHENA.MIT.EDU (Edith Au)
Fri Aug 25 02:35:24 1995
To: java-interest@java.sun.com
Date: Thu, 24 Aug 1995 12:41:41 -0400 (EDT)
From: Edith Au <edith@pencom.com>
Cc: edith@pencom.com
Hi there,
I compiled some classes I created and would like to use them on other
subclasses. When I did it on NT, I was forced to create a package to hold
those pre-compiled classes or else the subclass I created which extends
a pre-compiled class won't compile. for example, I have a class named
parent.class
in child.java, I refer to parent.class
class child extends parent {.....}
When I compiled child, I got a message saying super class parent not found.
But if I included parent in a package, then it's fine.
I tried the same thing on Sun. child.java was successfully compiled
and parent.class was not being included in any package. Why?????
Edith
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com