Can't find scripting engine for 'javascript': scriptEngine is null

1,215 views
Skip to first unread message

fadi al-katout

unread,
Feb 29, 2016, 11:56:24 AM2/29/16
to camunda-...@googlegroups.com
Hi am trying to upgrade to 7.4 
Am on MAC using oracle JDK 1.8.73


fadis-MacBook-Pro:areeba fadi$ java -version

java version "1.8.0_60"

Java(TM) SE Runtime Environment (build 1.8.0_60-b27)

Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)


I get the following error when trying to execute a process with javascript (they used to work on Camunda 7.3 + JDK 1.7)

2016-02-29 14:34:53 [qtp525575644-133] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: Can't find scripting engine for 'javascript': scriptEngine is null

org.camunda.bpm.engine.exception.NullValueException: Can't find scripting engine for 'javascript': scriptEngine is null

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_60]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_60]


Sebastian Menski

unread,
Feb 29, 2016, 12:10:11 PM2/29/16
to camunda BPM users, cuto...@gmail.com
Hi,

did you actually download the JDK from Oracle [1]. Or do you use some Mac Oracle JDK shipped by Apple?

Cheers,
Sebastian

fadi al-katout

unread,
Feb 29, 2016, 12:26:06 PM2/29/16
to Sebastian Menski, camunda BPM users
OK it is working now, will I face the same issue with OpenJDK on linux?

Sebastian Menski

unread,
Feb 29, 2016, 3:16:27 PM2/29/16
to camunda BPM users, sebastia...@camunda.com, cuto...@gmail.com
Hi,

I think this should work with OpenJDK 8 on Linux.

Cheers,
Sebastian
Reply all
Reply to author
Forward
0 new messages