rhino
Rhino is an open-source implementation of JavaScript written entirely in Java (by mozilla)
nashorn
https://openjdk.org/projects/nashorn (by openjdk)
rhino | nashorn | |
---|---|---|
15 | 10 | |
4,327 | 433 | |
1.2% | 1.4% | |
9.5 | 6.5 | |
10 days ago | 9 days ago | |
JavaScript | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rhino
Posts with mentions or reviews of rhino.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-25.
-
Chicory: A JVM native WebAssembly runtime
fun fact: there is an ongoing effort to bring Wasm to Rhino via Chicory
https://github.com/mozilla/rhino/discussions/1485
-
An ES5-compliant JavaScript interpreter, written in Java
I would guess that depends on the licensing context in which it will be running, since Rhino is MPLv2 <https://github.com/mozilla/rhino/blob/Rhino1_7_14_Release/LI...> and OP's repo is MIT whereas Graal is UPLv1 <https://github.com/oracle/graaljs/blob/graal-23.1.2/LICENSE>. GitHub's license gizmo claims it is OSI/FSF approved, but Oracle gonna Oracle and they for sure have more lawyers than you do
-
A list of JavaScript engines, runtimes, interpreters
Rhino
-
I found a remote code execution bug in VSCode that can be triggered from untrusted workspaces. Microsoft fixed it but marked it as moderate severity and ineligible under their bug bounty program.
Mozilla made Rhino
- ¿Es C++ inútil?
-
The check of the Rhino JavaScript engine or how the unicorn met the rhino
At the same time as studying the Rhino's source code, I downloaded its source files and ran the analysis using the PVS-Studio plugin for IntelliJ IDEA. The analyzer found quite a few warnings for a 25-year-old project (they are listed in descending order of certainty):
-
I’ve spent the last few months working on a project that recreates castles in 3D. This is Kenilworth Castle as it may had been in the 1600s.
I'm guessing not this...
- Call JavaScript From Java
-
Best way to integrate Python and JavaScript?
I'm guessing it would be possible using Jython and Rhino, for one example, but I'm curious whether or not anyone's ever actually done this, and if there are solutions for other platforms (especially CPython).
-
25 Years of Friendship
This is Tuvix
nashorn
Posts with mentions or reviews of nashorn.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
A list of JavaScript engines, runtimes, interpreters
nashorn
-
I'm not a programmer, my fiance is. Sometimes I like to show him memes from here and he'll explain them to me. Now I'm just confused. (The meme was someone labeled JavaScript bowing to someone named PHP while other programming languages looked in shock.)
I mean...
-
What challenges are there moving from Java 8 to 17?
It's still maintained by the open jdk team here: https://github.com/openjdk/nashorn
- Java 16 - How can i run a JavaScript function in my Java code?
- Call JavaScript From Java
-
Java isn't js
Although Java includes Javascript, or at least it used to. These days it has been taken out as a separate library (https://github.com/openjdk/nashorn), which honestly makes even more sense for the metaphor.
- A JavaScript engine for the JVM, built from the ground up with Kotlin
-
JDK 17: General Availability
What prevents you from using https://github.com/openjdk/nashorn? It's available on maven
What are some alternatives?
When comparing rhino and nashorn you can also consider the following projects:
cheetah - On-device streaming speech-to-text engine powered by deep learning
cglib - cglib - Byte Code Generation Library is high level API to generate and transform Java byte code. It is used by AOP, testing, data access frameworks to generate dynamic proxy objects and intercept field access.
RaspberryPi-Note - Raspberry Pi note
zipline - Run Kotlin/JS libraries in Kotlin/JVM and Kotlin/Native programs
LedFx - LedFx is a network based LED effect engine designed to deliver advanced real-time audio effects to a wide variety of devices.
jdk-mc - Recent Java with modifications specific to Minecraft.