RhinoScriptEngine in OpenJDK1.6

Dwayne MacKinnon dmk at ncf.ca
Tue Aug 30 14:25:07 UTC 2011


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


More information about the freebsd-java mailing list