I was having trouble getting hazelcast to run on jdk8 and I think it is
because the com.hazelcast.internal.osgi.OSGiScriptEngineManager can't
find a script engine. I am getting the error below but I know it can be
done because karaf uses hazelcast and runs on java 8.
Oct 19, 2015 1:58:20 PM
com.hazelcast.internal.osgi.OSGiScriptEngineManager
WARNING: Found ScriptEngineFactory candidate for
com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load
class! -> java.lang.ClassNotFoundException:
com.sun.script.javascript.RhinoScriptEngineFactory not found by
com.hazelcast [4
I am using a .bnd file to build and have included.
-runsystempackages.bugfix =
sun.misc,
javax.script,
Do I have to include the nashorn script engine or something.
Any help would be appreciated.
Thank you,
David Daniel