From owner-freebsd-java@FreeBSD.ORG Tue Sep 21 17:40:36 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90B7E16A4CE for ; Tue, 21 Sep 2004 17:40:36 +0000 (GMT) Received: from serv01.divms.uiowa.edu (serv01.divms.uiowa.edu [128.255.44.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FE9643D2D for ; Tue, 21 Sep 2004 17:40:36 +0000 (GMT) (envelope-from jason-dusek@uiowa.edu) Received: from [128.255.47.82] ([128.255.47.82]) by serv01.divms.uiowa.edu with id i8LHeXLF029100 for ; Tue, 21 Sep 2004 12:40:35 -0500 (CDT) Message-ID: <415067DA.7000709@uiowa.edu> Date: Tue, 21 Sep 2004 12:41:46 -0500 From: Jason Dusek User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040907 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "java@freebsd.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: netBeans can't find classes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 17:40:36 -0000 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@localhost:/usr/obj/usr/src/sys/CUSTOM i386 All help is appreciated. _jason