AvatarJS

From APIDesign

Revision as of 11:59, 6 May 2014 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

AvatarJS is a re-implementation of NodeJS on top of the JVM. JDK8 comes with Nashorn and that is certainly better JavaScript virtual machine than old Rhino. However NodeJS is not just JavaScript, it also contains a lot of native bindings. What can be done with those?


Get AvatarJS

Well, just download AvatarJS binaries and you are set to go. One could get the AvatarJS libraries from maven.java.net (as of Feb 17, 2014):

To bind them together I renamed to libraries:

avatar-js.jar
libavatar-js-linux-x64.so
libavatar-js.so -> libavatar-js-linux-x64.so
 
# and then I could execute them as 
java -Djava.library.path=. -jar avatar-js.jar
Personal tools
buy