From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 06:03:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB77C16A4CE for ; Mon, 9 Aug 2004 06:03:45 +0000 (GMT) Received: from comsmtp1.singnet.com.sg (comsmtp1.singnet.com.sg [165.21.101.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB3D943D54 for ; Mon, 9 Aug 2004 06:03:44 +0000 (GMT) (envelope-from pryan@singnet.com.sg) Received: from arrowana.singnet.com.sg (arrowana.singnet.com.sg [165.21.101.120])i7963h3w008371 for ; Mon, 9 Aug 2004 14:03:43 +0800 Received: from arrowana.singnet.com.sg (localhost.localdomain [127.0.0.1]) i7963hQ7012891 for ; Mon, 9 Aug 2004 14:03:43 +0800 Received: (from cooluser@localhost) by arrowana.singnet.com.sg (8.12.8/8.12.8/Submit) id i7963bB6012835 for freebsd-questions@freebsd.org; Mon, 9 Aug 2004 14:03:37 +0800 X-Authentication-Warning: arrowana.singnet.com.sg: cooluser set sender to pryan@singnet.com.sg using -f To: FreeBSD Message-ID: <1092031417.411713b9defae@arrowana.singnet.com.sg> Date: Mon, 09 Aug 2004 14:03:37 +0800 (SGT) From: Peter Ryan MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: SingNet WebMail Subject: Setting environmental variable for Netbeans X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pryan@singnet.com.sg List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 06:03:45 -0000 I am treading more unknown ground trying to get NetBeans to run on 4.10. I installed jdk 1.4.2 (thanks to help from here), and have installed this Netbeans via the ports collection. Now when i try to run it, it wants an environmental variable called JDK_HOME to be set. Using tips from searching the net, I am under the impression I have to change a a file called csh.cshrc or maybe .cshrc Then I did a find files on .cshrc, and found 2 copies - one under root/ and the other under usr/home/peter. I am logged in under root, so I am not sure which file I should change, or even if this is the correct file. Could someone point me in the right direction before I fiddle enough to have to resinstall again :) Thanks, Peter