After the updated version of IntelliJ IDEA, the Chinese input method cannot be used normally

After the IntelliJ IDEA update, the version number is: 2017.2.6. When I write comments in my own code, I find that the Chinese input method does not follow my cursor.

Originally, I was using IntelliJ IDEA 2017.1.x, and I updated it to the latest on a whim. Then the following problem arose.


Papapa, I lost a lot of letters, but I could only see one letter, and he also ran to the upper left corner.
I thought it was a problem with the input method. I uninstalled it and installed it again, but it still didn't work. Change the input method, still not OK.
Checked later.


Solve the problem that the Chinese input box does not follow:
the easiest way: do not modify the jdk
to set the environment variable (64-bit system): IDEA_JDK_64, the value is the path of the lower version of the JDK.
The 32-bit is IDEA_JDK, and the value is the native jdk root directory. (C:\Program Files\Java\jdk1.8.0_40) If
not, create a new one, I just create a new environment variable


I think this is the easiest, no need to upgrade jdk, no need to manipulate folders, etc., just create a new environment variable.


After creating or modifying environment variables, open the editor again, as shown below. Focus on that tip.


It probably means that the jdk version on my computer is too old.


why?

Because we can install multiple versions of jdk on our computer, this editor supports multiple versions of jdk, this is an advantage, we can't use multiple versions of jdk because of this.

See the image below.



The following are other, more verbose methods found on the Internet, and I have not verified them.


And the old iron, even more ruthless, directly delete the jre directory under this editor.

This is not recommended.


In short, this problem is the jdk that comes with the IDE, or he thinks that the lowest version of jdk is the version that comes with him. If it is lower than his jdk version, he will dislike your jdk, or you update jdk, Either force him to use your jdk.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325934584&siteId=291194637