摘要:
rhino是一个Mozilla的开源的由java写的javascript解释器。文档地址 https://developer.mozilla.org/en/Rhino_documentation安装方法 http://www.terminally-incoherent.com/blog/2008/01/08/rhino-scripting-java-with-javascript安装。ubuntu下直接 sudo apt-get install rhino然后写个 a.js文件,内容如下print("hello world")在终端,输入 rhino a.js。就能看到输入 阅读全文