AnsweredAssumed Answered

[BUILD FAILED] Unable to create javax script engine for java

Question asked by onceagainloap on Jan 28, 2012
Latest reply on Apr 24, 2012 by janguela
Hi there
I'm having some problems building the source code of Alfresco.
I copied it via svn from

the command ant build-tomcat returns:
Buildfile: /usr/local/alfresco/HEAD/root/build.xml

     [echo] user.home = /home/me
     [echo] version.number = 4.0.d

/usr/local/alfresco/HEAD/root/build.xml:146: Unable to create javax script engine for javascript

Total time: 1 second

java version:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (Gentoo build 1.6.0_22-b22)
OpenJDK Client VM (build 20.0-b11, mixed mode)

ant version:
Apache Ant version 1.8.2 compiled on December 20 2010

env variables:
export CATALINA_HOME=/usr/local/tomcat/home
export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
export TOMCAT_HOME=/usr/local/tomcat/home
export APP_TOMCAT_HOME=/usr/local/tomcat/home

Any ideas?

Thank you in advance