开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
main
分支 (3)
标签 (69)
main
dev/3.1.4
dev/1.0.8
3.1.3
3.1.2
3.1.1
3.1.0
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Javet

Discord Linux x86_64 Build MacOS arm64 Build Android V8 Build

@sjtucaocao, or visit https://caoccao.blogspot.com/. And the official support channel is at donate to support me. If you have a retired Mac OS (x86_64) device and are fine with mailing it to me, that will be great because I don't have such device to support the community. Thank you for supporting Javet.

Major Features

CPU Arch Android Linux MacOS Windows
x86 ✔️
x86_64 ✔️ ✔️ ✔️ ✔️
arm ✔️
arm64 ✔️ ✔️ ✔️
  • Node.js v20.14.0 + V8 v12.6.228.13
  • Dynamic switch between Node.js and V8 mode (Javenode
  • V8 API exposure in JVM
  • JavaScript and Java interop
  • Native BigInt and Date
  • Javet engine pool
  • Easy spring integration
  • Live debug with Chrome DevTools
  • AST analysis with swc4j
  • Live interaction with Quick Start

    Dependency

    Maven

    <!-- Linux and Windows (x86_64) -->
    <dependency>
     <groupId>com.caoccao.javet</groupId>
     <artifactId>javet</artifactId>
     <version>3.1.3</version>
    </dependency>
    
    <!-- Linux (arm64) -->
    <dependency>
     <groupId>com.caoccao.javet</groupId>
     <artifactId>javet-linux-arm64</artifactId>
     <version>3.1.3</version>
    </dependency>
    
    <!-- Mac OS (x86_64 and arm64) -->
    <dependency>
     <groupId>com.caoccao.javet</groupId>
     <artifactId>javet-macos</artifactId>
     <version>3.1.3</version>
    </dependency>
    

    Gradle Kotlin DSL

    implementation("com.caoccao.javet:javet:3.1.3") // Linux and Windows (x86_64)
    implementation("com.caoccao.javet:javet-linux-arm64:3.1.3") // Linux (arm64)
    implementation("com.caoccao.javet:javet-macos:3.1.3") // Mac OS (x86_64 and arm64)
    implementation("com.caoccao.javet:javet-android-node:3.1.3") // Android Node (arm, arm64, x86 and x86_64)
    implementation("com.caoccao.javet:javet-android-v8:3.1.3") // Android V8 (arm, arm64, x86 and x86_64)
    

    Gradle Groovy DSL

    implementation 'com.caoccao.javet:javet:3.1.3' // Linux and Windows (x86_64)
    implementation 'com.caoccao.javet:javet-linux-arm64:3.1.3' // Linux (arm64)
    implementation 'com.caoccao.javet:javet-macos:3.1.3' // Mac OS (x86_64 and arm64)
    implementation 'com.caoccao.javet:javet-android-node:3.1.3' // Android Node (arm, arm64, x86 and x86_64)
    implementation 'com.caoccao.javet:javet-android-v8:3.1.3' // Android V8 (arm, arm64, x86 and x86_64)
    

    Hello Javet

    // Node.js Mode
    try (V8Runtime v8Runtime = V8Host.getNodeInstance().createV8Runtime()) {
     System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());
    }
    
    // V8 Mode
    try (V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime()) {
     System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());
    }
    

    Sponsors

    License

    Blog

README
Apache-2.0
使用 Apache-2.0 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenddcoder/Javet.git
git@gitee.com:chenddcoder/Javet.git
chenddcoder
Javet
Javet
main
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /