Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 21:30:47 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Dwayne MacKinnon <dmk@ncf.ca>
Cc:        freebsd-java@freebsd.org
Subject:   Re: RhinoScriptEngine in OpenJDK1.6
Message-ID:  <20110906043047.GB70947@misty.eyesbeyond.com>
In-Reply-To: <201108300952.18634.dmk@ncf.ca>
References:  <201108300952.18634.dmk@ncf.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110906043047.GB70947>