From owner-freebsd-questions Mon Jul 9 19: 7:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay3.adelphia.net (smtprelay3.adelphia.net [64.8.25.8]) by hub.freebsd.org (Postfix) with ESMTP id DCBAE37B401 for ; Mon, 9 Jul 2001 19:07:33 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay3.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GG8J9200.S70; Mon, 9 Jul 2001 22:07:50 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.3/8.11.3) id f6A257i12685; Mon, 9 Jul 2001 22:05:07 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200107100205.f6A257i12685@scraemondaemon.my.domain> Subject: Re: jdk1.1.8 In-Reply-To: <3B4A57E7.91915883@lmi.net> "from Paul Orsi at Jul 9, 2001 06:18:31 pm" To: Paul Orsi Date: Mon, 9 Jul 2001 22:05:02 -0400 (EDT) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Have you tried typing the full pathname /usr/local/jdk1.1.8/bin/javac javafile If /usr/local/jdk1.1.8/bin is not in your path, echo $PATH to find out, then you'll probably have problems. Can you compile when you are logged in as a normal user? Ian > I recently installed Free BSD 4.2 and installed the jdk1.1.8. My > problem is that the javac command > does not compile the java file. I get Permission denied while in root!. > The program was installed > successfully in /usr/local/jdk1.1.8. I saved my java file in the /home > directory and tried to compile it there. > I also put a copy of the file in the jdk1.1.8/bin and tried to compile > it there also. > The jdk works fine on my windows box after setting a class path in > the autoexecbat file. Am I > missing something here in regards to the Free BSD OS.? > Thanks for any help-Paul > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message