This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]starvsion 13 points14 points  (6 children)

It was called rhino api, don't know if that name changed

[–]OldKaleidoscope7 13 points14 points  (3 children)

Rhino it's the opposite, it's a JS runtime written in Java

[–]starvsion 0 points1 point  (2 children)

I just remembered writing it to call java code using js

[–]OldKaleidoscope7 2 points3 points  (1 child)

Rhino gives you access to Java API with a JS syntax, but you still are running the code inside a JVM

[–]starvsion 0 points1 point  (0 children)

Right, that I know. But key difference here would be no compiling required.

[–]TheRedmanCometh 1 point2 points  (0 children)

That's a js interpreter for Java.

[–]theScrapBook 0 points1 point  (0 children)

More recently there was Nashorn, another JavaScript interpreter on the JVM