1
edit
Changes
→FAQ
After that, recompile JS and define JS_USE_ONLY_NSPR_LOCKS in the build.
=== [http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ea228a98a26b2d73 How to determine Rhino version programatically] ===
You can call getImplementationVersion() on a Context instance and it gives you a string
eg. Rhino 1.6 release 2 2005 09 19