Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2011 09:52:18 -0400
From:      Dwayne MacKinnon <dmk@ncf.ca>
To:        freebsd-java@freebsd.org
Subject:   RhinoScriptEngine in OpenJDK1.6
Message-ID:  <201108300952.18634.dmk@ncf.ca>

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



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