当前位置: 首页 > 工具软件 > Nashorn > 使用案例 >

JAVA17中使用JS引擎Nashorn

慕容耘豪
2023-12-01

用户手册
开发手册
JAVA15以后删除了nashorn js引擎,需要自己引入

<dependency>
    <groupId>org.openjdk.nashorn</groupId>
    <artifactId>nashorn-core</artifactId>
    <version>15.4</version>
</dependency>
 类似资料: