From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 04:30:50 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 84D6C1065672 for ; Tue, 6 Sep 2011 04:30:50 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 347918FC16 for ; Tue, 6 Sep 2011 04:30:50 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p864UmwY071026; Mon, 5 Sep 2011 21:30:48 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p864Ul8A071012; Mon, 5 Sep 2011 21:30:47 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 5 Sep 2011 21:30:47 -0700 From: Greg Lewis To: Dwayne MacKinnon Message-ID: <20110906043047.GB70947@misty.eyesbeyond.com> References: <201108300952.18634.dmk@ncf.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201108300952.18634.dmk@ncf.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org Subject: Re: 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, 06 Sep 2011 04:30:50 -0000 On Tue, Aug 30, 2011 at 09:52:18AM -0400, Dwayne MacKinnon wrote: > 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. The OpenJDK{6,7} sources don't include Rhino, although they do include hooks for it. IcedTea has some changes to pull in Rhino and rename the classes appropriately, IIRC, so someone could potentially port those changes over if they were motivated to do so. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org