java与script进行交互的的jar包jsr-223-1.0.jar.zip//createascriptenginemanagerScriptEngineManagerfactory=newScriptEngineManager();//createaJavaScriptengineScriptEngineengine=factory.getEngineByName("JavaScript");try{engine.eval("functionmax_num(a,b){return(a>b)?a:b;}"