Java离线激活(内网)IDEA热部署插件Jrebel
使用教程
代码地址:https://gitee.com/gsls200808/JrebelLicenseServerforJava
运行服务-jar方式
1.将 Jrebel License Server 项目克隆到本地,或下载 zip
2.编译并打包项目
mvn clean | |
mvn commpile | |
mvn exec:java -Dexec.mainClass="com.vvvtimes.server.MainServer" -Dexec.args="-p 8081" <br> mvn package |
3.运行项目
java -jar JrebelBrainsLicenseServerforJava-1.0-SNAPSHOT-jar-with-dependencies.jar -p 8081 |
默认端口为 8081,你也可以自己修改指定的端口
运行服务-docker方式
-
安装 docker 环境
-
克隆项目到本地
-
创建镜像
cd /path/to/projectmvn packagedocker build -t jrebel-ls
-
运行镜像
docker run -d --name jrebel-ls --restart always -e PORT=9001 -p 9001:9001 jrebel-ls
默认端口为 9001,你也可以自己修改指定的端口
-
运行,成功则显示如下
激活IDEA(2020.2.3测试成功)
-
点击激活 Idea
-
激活方式选择 License server
-
输入激活路径:
http://localhost:8081/64245b6b-ef68-4bdc-aabf-7f8e85a540e4
- 前半部分为你的激活服务器地址和端口
- 后半部分为 UUID,你可以前往以下网站自行生成:https://www.uuidgenerator.net/
-
点击 ACTIVATE 完成激活
Jrebel 激活
-
下载并安装 Jrebel
-
打开激活界面,选择激活方式为:Connect to online licensing service
-
在 Team URL (required) 一栏输入你的激活服务器地址,如:
http://localhost:8081/64245b6b-ef68-4bdc-aabf-7f8e85a540e4
- 前半部分为你的激活服务器地址
- 后半部分为 UUID,你可以前往以下网站自行生成:https://www.uuidgenerator.net/
-
在 Email address (required) 一栏输入你的邮箱地址,可以随意填写
-
点击 Activate 完成激活,激活前记得勾选 “I agree with the terms & conditions of the License Agreement” 选项,否则无法激活
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Blazor Hybrid适配到HarmonyOS系统
· 万字调研——AI生成内容检测
· 解决跨域问题的这6种方案,真香!
· Obsidian + DeepSeek:免费 AI 助力你的知识管理,让你的笔记飞起来!
· 一套基于 Material Design 规范实现的 Blazor 和 Razor 通用组件库