转自:https://r86oxhhvu2.feishu.cn/docs/doccnIR4lBYFmIzNU3rN2dRHIPd
0. 下载激活补丁
下载激活用到的补丁文件。
链接:https://pan.baidu.com/s/1cxhsmK9be_Z5ZmWLTIodig 密码:563w
下载之后进行解压,会看到如下的目录(解压之后的目录不能移动,也不能删除!)
解压之后的目录不能移动,也不能删除!
解压之后的目录不能移动,也不能删除!!
解压之后的目录不能移动,也不能删除!!!
相比较之前的激活方法,多了 scripts 和 vmoptions 文件
- scripts是放脚本文件的
- vmoptions是放配置文件的(直接会加载这个文件夹下的vmoptions,不用大家手动配置)
1. 执行脚本
打开scripts 文件,可以看到有以下几个脚本
sh结尾的文件是在linux和mac系统下使用的脚本
从命名上来看,有install,也有对应的uninstall,非常的贴心。
mac上进入文件scripts 执行install.sh
这个脚本会自动配置vmoptions文件,所以耐心等待几秒钟,会弹出一个 Done的提示
提示done
这个时候就代表执行成功了。执行成功后idea.vmoptions文件自动配置了路径
3. 激活
这里分享两种激活方法
激活方法1,使用server
执行上面的脚本之后,选择
License server
,输入https://jetbra.in
然后点击
Avtivate
如上图所示就成功激活了,只不过LicenseName信息使用的是这台电脑上当前登录的用户名。
激活方法2,使用激活码
也可以选择通过激活码的方式激活,这个方法可以自定义LicenseName 以及激活时间
前提还是要先执行上面的脚本!
我测试的时候使用的激活码
IFB45W18MX-eyJsaWNlbnNlSWQiOiJJRkI0NVcxOE1YIiwibGljZW5zZWVOYW1lIjoi5rC45LmF5r+A5rS7IHd3d8K3YWppaHVvwrdjb20iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjItMDItMDQiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDIyLTAyLTA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oBWQgjnvMtPgOUPRTPkPGbwPwwDkvAHYiuKJ7Bd2wH7rAgMBAAGjgZkwgZYwCQYDVR0TBAIwADAdBgNVHQ4EFgQUJNoRIpb1hUHAk0foMSNM9MCEAv8wSAYDVR0jBEEwP4AUo562SGdCEjZBvW3gubSgUouX8bOhHKQaMBgxFjAUBgNVBAMMDUpldFByb2ZpbGUgQ0GCCQDSbLGDsoN54TATBgNVHSUEDDAKBggrBgEFBQcDATALBgNVHQ8EBAMCBaAwDQYJKoZIhvcNAQELBQADggIBAB2J1ysRudbkqmkUFK8xqhiZaYPd30TlmCmSAaGJ0eBpvkVeqA2jGYhAQRqFiAlFC63JKvWvRZO1iRuWCEfUMkdqQ9VQPXziE/BlsOIgrL6RlJfuFcEZ8TK3syIfIGQZNCxYhLLUuet2HE6LJYPQ5c0jH4kDooRpcVZ4rBxNwddpctUO2te9UU5/FjhioZQsPvd92qOTsV+8Cyl2fvNhNKD1Uu9ff5AkVIQn4JU23ozdB/R5oUlebwaTE6WZNBs+TA/qPj+5/wi9NH71WRB0hqUoLI2AKKyiPw++FtN4Su1vsdDlrAzDj9ILjpjJKA1ImuVcG329/WTYIKysZ1CWK3zATg9BeCUPAV1pQy8ToXOq+RSYen6winZ2OO93eyHv2Iw5kbn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISXmz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeIQ/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD
也可以通过 http://idea.hicxy.com/这个网站重新获取
将激活码复制粘贴到如下位置,显示绿色,就证明激活码有效
然后点击
Activate
,之后出现如下界面永久激活、2088年等信息可以通过修改
config-jetbrains
文件下mymap.conf
自定义如果以上两种方法激活无效,请手动配置Vmoptions文件,具体步骤参考:IntellIj IDEA 激活教程(阻断网络校验)
4. 结束
以上两种都可以达到激活IDEA的目的,但是无论如何下载的补丁,解压之后就不能再移动,也不能删除!
- 配置完vmoptions打不开idea了,
配置完Jar包之后,无法打开IDEA,说明你的路径配置的有问题,打开C:\Users\Administrator\AppData\Roaming\JetBrains\IntelliJIdea2021.3中的idea64.exe.vmoptions检查一下路径,修改成正确的即可
如果是Mac,路径为:~/Library/Application Support/JetBrains/IntelliJIdeaxxx
Linux不太清楚,可以全局搜索一下
- 使用激活码之后,提示This license has been suspended
说明这个激活码是有效的,但是官方检测到这个激活码被多人使用了!
只需要断开网络,然后再次激活,进行后面的步骤,完成之后,再打开网络即可
- 为什么配置后,没生效?
路径不要有中文路径,jar包不要单独拿出来,建议解压之后移动挣个文件夹