OpenCode c74ea769a1 Accept JS file as argument and support NPM modules via jvm-npm
- HelloNashorn now takes a JS file path as command-line argument
- Uses jvm-npm (org.bsc:jvm-npm-core:1.1.0) for require() support
- Require.root set to script's parent dir so node_modules resolves correctly
- Engine created with -scripting mode for load() support
2026-05-28 07:27:13 +00:00
2026-05-28 04:45:16 +00:00
2026-05-28 04:45:16 +00:00
2026-05-28 04:45:16 +00:00
S
Description
Nashorn Hello World demo project with Gradle
74 KiB
Languages
Java 100%