最終更新:2014-04-22 (火) 22:46:16 (2302d)  

Nashorn
Top / Nashorn

http://openjdk.java.net/projects/nashorn/

ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEngineByName("js");
engine.eval("print(1+2);");

関連

参考