Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 11:11:53 -0500
From:      Jason Dusek <jason-dusek@uiowa.edu>
To:        "java@freebsd.org" <java@freebsd.org>
Subject:   netBeans can't find classes
Message-ID:  <415052C9.3090100@uiowa.edu>

next in thread | raw e-mail | index | archive | help
I am unable to compile a number 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@localhost:/usr/obj/usr/src/sys/CUSTOM  i386

All help is appreciated.

_jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415052C9.3090100>