Top "Javax.script" questions

A scripting API consists of interfaces and classes that define Java Scripting Engines and provides a framework for their use in Java applications.

Converting a Javascript array to a Java array

I'm trying to convert a Javascript array in Java to a Java array. I'm using the javax.script package. I …

java javascript javax.script
Calling Python from Java through scripting engine (jython)?

I'm trying to call Jython from a Java 6 application using javax.script: import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; …

java python jython javax.script
How to use ScriptEngineManager in Android?

import android.widget.Toast; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; public void bEqual(View …

android javax.script
Why does getEngineByName(“js”) return null?

Whatever I try, getEngineByName() keeps returning null. Here's my code: final ScriptEngineManager manager = new ScriptEngineManager(); final ScriptEngine engine = manager.getEngineByName("…

java javascript android javax.script
javax.script package: How to import JavaScript files?

I'm using javax.script package for running external JavaScript files within Java application. How can I import one JavaScript file …

javax.script
Trying to use Rhino, getEngineByName("JavaScript") returns null in OpenJDK 7

When I run the following piece of code, the engine variable is set to null when I'm using OpenJDK 7 (java-7…

java javascript rhino openjdk javax.script