From owner-freebsd-questions Mon May 6 18:53:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 0AD7237B405 for ; Mon, 6 May 2002 18:53:43 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g471r0U21368; Mon, 6 May 2002 21:53:00 -0400 Message-ID: <3CD734B5.70405@potentialtech.com> Date: Mon, 06 May 2002 21:58:13 -0400 From: Bill Moran Organization: Potential Technologies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Lauder Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Java not accessible from Perl script References: <5.1.0.14.2.20020506174727.00aa60b8@mail.gte.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Ian Lauder wrote: > I have FreeBSD 3.3 server and just had the FreeBSD Java JDK 1.1.8 installed. > > I can run the "java" executable from my normal login. The problem is that > when I try to execute the "java" program from within a Perl script and read > back the results it is not returning anything. Does the perl script have your environment, specifically your path? Try specifying the full path to the java binary. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message