Skip to content

Ja-netfilter常见问题

热佬激活包下载地址

  • go to jetbra.in/s , 点击前排任意一个网址进入热佬网站
  • download jetbra.zip
  • unzip and read readme.txt

激活操作

  1. add -javaagent:/path/to/ja-netfilter.jar=jetbrains to your vmoptions file (manual or auto 手动或自动)

    注:

  2. 从版本2022.2开始, 需要额外配置下面两行参数以使用JBR17 (JetBrains Runtime 17) 见 官方说明 ;

    From version 2022.2 ,add these 2 lines to your vmoptions file to use JBR17, see details Here ;

    (for manual, without any whitespace chars)

    --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
    --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
  3. log out of the jb account in the 'Licenses' window

  4. use key on page jetbra.in/s

如何自动配置vmoptions文件 | 一键脚本

Auto configure vmoptions:

  • macOS or Linux: execute "scripts/install.sh"
  • Windows: double click to execute "scripts\install-current-user.vbs" (For current user) "scripts\install-all-users.vbs" (For all users)

一键脚本的原理是什么?

设置环境变量 IDE_VM_OPTIONS 指向 ja-netfilter包里的vmoptions文件 ,同时这个文件会自动配置-javaagent , 这里IDE为IDE的名称,比如 IDEA/CLION/PYCHARM 等

IDE启动之后优先使用IDE_VM_OPTIONS 指向的vmoptions文件

注: 一键脚本会对多个IDE设置相应的vmoptions环境变量,如果你只想为特定IDE设置,修改脚本中的 aJBProducts 变量