Instantiates a new script engine, makes the provided java packages "imported" into the context (i.e. classes from those packages can be instantiated without providing the full class name) and makes the script engine use the scriptSourceProvider to locate scripts.
@param packages the list of java packages to be imported in the context
@param scriptSourceProvider the provider of the sources of scripts - can be null to use noscript source provider and depend on the default module loading mechanisms of the script language
@param permissions the security permissions the script engine should execute the script with, can be nullin which case the script engine is unsecured
@return a newly instantiated script engine configured as above
@throws ScriptException
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.