JVM missing Rhino

Posted by Andrei on Stack Overflow See other posts from Stack Overflow or by Andrei
Published on 2011-01-10T17:21:33Z Indexed on 2011/01/11 2:54 UTC
Read the original article Hit count: 337

Filed under:
|
|

I have a project that uses the ScriptEngine to process some javascript, and worked well on my machine, but when i send the projects's jar to the server, i had discovered that the server's JVM doesn't have Rhino built-in, returning null when the code calls a

new ScriptEngineManager().getEngineByName("javascript");

I went to the rhino's download page, get the most recent version, and extracted the js.jar from it, added the jar on the project, but still have the same problem.

© Stack Overflow or respective owner

Related posts about java

Related posts about rhino