From owner-freebsd-questions Fri Jun 14 21:23:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from attila.stevens-tech.edu (attila.stevens-tech.edu [155.246.14.11]) by hub.freebsd.org (Postfix) with ESMTP id 1476537B41A for ; Fri, 14 Jun 2002 21:23:31 -0700 (PDT) Received: from levindustries.com (jlevine-1.u05.stevens-tech.edu [155.246.211.36]) by attila.stevens-tech.edu (SGI-8.9.3/8.9.3/7) with ESMTP id AAA94540 for ; Sat, 15 Jun 2002 00:23:20 -0400 (EDT) Message-ID: <3D0AC0F9.5405FD30@levindustries.com> Date: Sat, 15 Jun 2002 00:22:17 -0400 From: Josh Levine X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: PHP+Java+Apache References: <3D0A585D.1CEF6042@levindustries.com> <11525957865.20020615002512@dds.nl> Content-Type: text/plain; charset=us-ascii 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 Alex wrote: > JL> I installed the FreeBSD JDK13 port and then re-compiled PHP with Java > JL> support. When I tried running a script with Java, Apache returned: > JL> Fatal error: Unable to create Java Virtual Machine in > > JL> Any other suggestions? Is there a better list for me to ask this > JL> question on? > > You could send a mail to java@freebsd.org (check the maillist first if > this is the right list for this) and could think about the java > alternate JSP. (Java Server Pages, just like ASP and PHP but in Java) Thanks for the advice. I actually had posted earlier to the java list, but nobody there seemed to have any experience building PHP with Java - I was hoping the broader reach of this list would reach someone who had. Regardless, I figured out the problem: all I had to do was add the right path to ldconfig_paths in /etc/rc.conf. I'll post a full writeup of how I got it all working to freebsd-java, as looking through the archives the question has been asked there at least a couple of times before. --Josh Levine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message