From owner-freebsd-java@FreeBSD.ORG Tue Aug 30 14:25:07 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B1F41065670 for ; Tue, 30 Aug 2011 14:25:07 +0000 (UTC) (envelope-from dmk@ncf.ca) Received: from mail.ncf.ca (mail.ncf.ca [134.117.136.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7804F8FC28 for ; Tue, 30 Aug 2011 14:25:07 +0000 (UTC) Received: from adminpc5.internal.iinfraxu.ca (CPE0014bfb32f8a-CM0014e887dd48.cpe.net.cable.rogers.com [174.114.186.180]) (Authenticated sender: du880@ncf.ca) by mail.ncf.ca (Postfix) with ESMTP id 987BC8A2C0 for ; Tue, 30 Aug 2011 09:52:19 -0400 (EDT) From: Dwayne MacKinnon To: freebsd-java@freebsd.org Date: Tue, 30 Aug 2011 09:52:18 -0400 User-Agent: KMail/1.13.7 (FreeBSD/8.2-RELEASE-p2; KDE/4.6.5; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201108300952.18634.dmk@ncf.ca> Subject: RhinoScriptEngine in OpenJDK1.6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2011 14:25:07 -0000 Hi all, I was attempting to install EJBCA on my FreeBSD 8.2-RELEASE-p2 box (i386) but it failed. The output from the "ant bootstrap" command is as follows: Buildfile: /usr/home/dwayne/Downloads/tmp/ejbca_4_0_3/build.xml BUILD FAILED /usr/home/dwayne/Downloads/tmp/ejbca_4_0_3/build.xml:23: The following error occurred while executing this line: /usr/home/dwayne/Downloads/tmp/ejbca_4_0_3/propertyDefaults.xml:39: The following error occurred while executing this line: /usr/home/dwayne/Downloads/tmp/ejbca_4_0_3/propertyDefaults.xml:11: Unable to create javax script engine for javascript Total time: 0 seconds Looking at the source code from openjdk1.6, it appears that the RhinoScriptEngine for javascript should be in there, but jrunscript -q doesn't show any script engines at all. Any ideas on how to get a javascript ScriptEngine? The Rhino project doesn't create a JSR223 script engine because it conflicts with the one created (from an older Rhino) by Sun. Please CC me on any replies; I do not subscribe to the list. Thanks, DMK