I need to add a bunch of functionality and I really want to automate the file creation so I just started trying out Cairngen. I got this “unable to load a script engine manager” error. Fortunately I had just checked my Java VM version (default Mac OS 1.5) and according to this post I need at least JRE 6. Let’s see now… hrmm… Java on a Mac is a little trickier than I thought… distressing
Eric Feminella: Solutions Architect, Rich Internet Applications » Blog Archive » Cairngen 2.1
RSS - Posts
November 19th, 2007 at 10:46 am
Eric, I am trying to use Cairngen 2.1 in FB 3 beta 2 (stand-alone) and getting an error:
BUILD FAILED
C:\…\build.xml:373: Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
Have you seen this before? Is there a software update I need to install? If so, which one?
Thanks,
Leif
November 19th, 2007 at 11:59 am
Hey Lief,
You need to upgrade to JRE 6. First download and install at: http://www.java.com/en/download/manual.jsp
Once you have upgraded the Java Runtime, restart Eclipse and from
the toolbar select Windows > Preferences > Java (expand) >
Installed JREs > Add > Browse (browse to Java Installation and
select latest JRE). Click OK.
Restart Eclipse and you should be good to go. Let me know if you have any problems.
- Eric