第一步

下载新版idea安装包idea2022.x
下载方式(推荐):访问idea官网选择idea2022旗舰版本进行下载即可,不要选择community版本哦(community版本是社区版,它是免费的,不用激活的,但是功能少于旗舰版)。当然,如果社区版功能满足你的需求,选它即可。

安装

下载好idea安装包后,对idea进行安装,建议安装到非系统盘️。安装好之后,先打开idea,选择评估打开,打开之后,我们进行破解操作。

如果无法打开idea

打开目录:C:\Users\你的用户名\AppData\Roaming\JetBrains\IntelliJIdea2022.2,找到这个文件 idea64.exe.vmoptions,如果此文件文末追加了 -javaagent,将此语句删除再重新打开idea2022即可进入idea。

永久激活idea

1.将破解补丁放入idea安装目录下的bin目录

 1. 访问地址:https://www.jiweichengzhu.com/idea/code,点击下载破解补丁
 2. 拷贝文件至D:\Program Files\JetBrains\IntelliJ IDEA 2022.2\bin目录下(根据自己安装路径)
 3. 修改bin目录下面的idea.exe.vmoptions和idea64.exe.vmoptions文件(如果没有idea.exe.vmoptions,只修改idea64.exe.vmoptions即可),文末追加(根据自己安装路径)
	-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2022.2\bin\ja-netfilter.v3\ja-netfilter.jar
 4.	在vmoptions文件中追加两行 --add-opens 配置项,否则就会出现“key is invalid”错误
 --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
 --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
 加这两行代码,主要是jdk自身的变化所致,在 jbr11 升级到 jbr17 之后,这些内部的插桩api默认是访问不到的,需要手动 add-open 之后才可以访问到。
 
 6. 启动idea,在register页面的Activation Code粘贴以下内容。

Activation Code内容

BKZ5XB6RJ8-eyJsaWNlbnNlSWQiOiJCS1o1WEI2Uko4IiwibGljZW5zZWVOYW1lIjoi5pyA5paw5r+A5rS756CB6I635Y+W77yM6K+35YWz5rOo5YWs5LyX5Y+344CM6Zuo6JC95peg5b2x44CNIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0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ve7DNRojwl2Y8pcXiBKQQiIDEc//Ar5RgzFPAKZuv1pUWRAc4JD4G7t+iIy4R3E/6TywhFOl9/fWxOaVEx81ZfxYKmFXLtKeuuFnXOIJ3/cDK8KqMMWq+rJVXQaDkMIRJ6cizgf3EhKB8wP6LgTGpFa2qW/F/FaIivbGL4JnRpj1H6t991jWQYzAf4xad/wy6V2K+Fl9eAPJRlwYiA2o0PjbVffqcWzxgGPlawOLRkRnzDOUqp4ZHw6YRp801wSz03KAYPtFS2+cUsykc4eKwwpKSA8rqwUNCaxpdUgBWqXCj0SetZm2OWuVpAZn2sO6iXDmNTkBVry8ee/AW87ZU4CuGMqLQeNDNQd/pHtk2Van89y7gfcRAP2waneRTudpjhTQo61fJoYNAGq1N1sE8Oew/eGxzV8ubnr+BAdi9gH23GVbG1e0/u/caOXIPL1ndiKBHVTqXWcjkuLRGGVtaOjN4Gfmjgu+z2CNhHe80V2IefsSuBd5wgA6BfYB8wy+LcfcXJ2zKJe7TKA44dys9atbdIB6HXfCcwV7U/N5M0LAIFbOPdk0yi8DPWTJCjQELytuy31g+vrbYePWANraRRcPStmw8zpP/ZcbDJ/419vGWG4RscVpt7Ewo/S7nPmGwpW5hf+/KVxmeBfxg==

下载破解补丁

拷贝文件至D:\Program Files\JetBrains\IntelliJ IDEA 2022.2\bin


修改配置文件

注册(在idea界面菜单上的help -> register中)

附上自己idea.2022.x可用的破解文件

对应的是idea.2022.x的破解文件。

链接:https://pan.baidu.com/s/1AZZwB5t_sffEJ8fA3atMZw
提取码:29xn

激活成功的idea

参考资料