picture
Compared with other tutorials, there is no need to pay attention to the public account here, no drainage, the method is simple, and the first-hand information is also given to you. At the same time of activation, the main teaching method is for communication only. Please apply for a genuine authorization code from the official channel, or you can apply for the education version. , or use the Community Edition.
picture

2022.1.4 was just released a week ago, and now 2022.2 is released immediately. The update is too fast, but it is still recommended to upgrade. The main update points this time include:

  • Runtime environment upgrade from JDK 11 to JDK 17

  • Start with full support for Spring 6 and Spring Boot 3
According to the previous method, the old version upgrade only needs to execute Download IDEA -> Unzip -> Modify the configuration file . IDEA automatically reads the configuration information of 2022.1 at startup. If you have a fresh install, read the main text.

1. Install IDEA

You can download and install it from the official website, or you can upgrade from the previous version. There is nothing special about IDEA. The zip version I downloaded from the official, the unzipped directory is as follows.
picture
2. Activation method
There are many ways to activate, I use the activation code here .

1. Open the activation URL https://jetbra.in/s

If there is no accident, the URL will do a jump analysis, and will display the current list of URLs that can be jumped.
picture
The first few with the earth, the status is currently available online, click on any available link.
picture

2. Download the activation package

Download the above compressed file, jetbra.zip , the release date is July 1, and extract it to the same directory of IDEA.
picture

3. Modify the configuration file

Open idea64.exe.vmoptions with a text editor , the file is located in the ideaIU-2022.2.win -> bin directory, and add the following configuration information at the end of the file:
# 请修改为ja-netfilter.jar文件所在绝对路径-javaagent:D:/Apps/JetBrains/jetbra-220701/ja-netfilter.jar=jetbrains--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
After modification, it is shown in the following figure:
picture
In fact, the specific method has been clearly explained in readme.txt, you can read it first before configuring.
picture

4. Fill in the specific activation code

After configuration, we can activate IDEA with a specific activation code. Click Copy to clipboard in the IDEA column on the activation website, and the activation code will be copied to the clipboard.
picture
At this time, start our IDEA, at Manage License -> Activation -> Activation Code , paste Ctrl + V, and click Activate.
picture
My previous version installed the official Chinese plug-in and automatically stored it in the local user directory. This version is automatically read at startup, regardless of the project list and plugin configuration.
picture
After upgrading from 2022.1.4 to 2022.2, when IDEA starts, the configuration information will be automatically copied and created according to the configuration of 2022.1, and the existing global configuration and project configuration will be automatically inherited. At this point, you can manually delete the redundant old configuration of 2022.1.

Third, write at the end

At this point, IDEA can be used smoothly, here are some additional notes:
  1. Please support the purchase of genuine editions, or apply for educational editions and community editions .

  2. Activate the URL https://jetbra.in/s , it is not easy to get lost after collecting .

  3. The activation file decompression directory can be any location, because the absolute path is written during configuration, and it is recommended to put them together here.

  4. This method is also applicable to other products of this family. When copying the activation code, select the corresponding column, and the activation file can be shared.

  5. The activation time is only 1 year, and the name can no longer be customized, but it doesn't matter. Who knows how to activate the next big version.

  6. The activation script, I didn't talk about it here, I don't want to change the environment variables.