netBeans can't find classes
Jason Dusek
jason-dusek at uiowa.edu
Tue Sep 21 10:40:36 PDT 2004
I'm sorry, there was an error in the first line of my message that didn't make
any sense. Rewritten, the message is:
I am unable to compile a class that depends on another class within the same
directory when using netBeans, but if I use javac then I can compile okay.
The directory I'm working in looks like this:
-rw-rw-r-- 1 jsn jsn 1672 Sep 20 10:52 Matrix.java
-rw-rw-r-- 1 jsn jsn 367 Sep 17 20:58 MatrixInterface.java
-rw-rw-r-- 1 jsn jsn 3157 Sep 21 10:59 MatrixMultiplication.java
-rw-rw-r-- 1 jsn jsn 4029 Sep 20 09:04 OldSparseMatrix.java
-rw-rw-r-- 1 jsn jsn 2388 Sep 20 10:11 SparseMatrix.java
And the error that I get when I compile Matrix.java in netBeans 3.6 is:
/home/jsn/.public-html/Classes/22c:021/Project_1/Matrix.java [13:1]
cannot resolve symbol
symbol : class MatrixInterface
location: class Matrix
public class Matrix implements MatrixInterface
^
1 error
Errors compiling Matrix.
Is this a FreeBSD related issue at all? I'm using the native JDK 1.4.2p6 and the
netBeans from the ports. I ran portupgrade yesterday without a hitch.
1 > uname -a
FreeBSD localhost 5.3-BETA2 FreeBSD 5.3-BETA2 #0:
Mon Sep 6 15:27:56 CDT 2004
root at localhost:/usr/obj/usr/src/sys/CUSTOM i386
All help is appreciated.
_jason
More information about the freebsd-java
mailing list