Many java developers using Borland JBuilder have encountered such problems: When entering Chinese, the box is displayed; the cursor is misalign in the process of use. At the beginning, I thought it was Borland's question. Later I checked some information, I found that it was a question of Sun JDK. This is actually an old problem of Sun, Borland is really a bit. Below I solve the above problem, I am using the Redhat Linux 9 operating system and Borland JBuilderx, Note: My JBuilderx is installed in / opt /, please determine the location of the JBuilderx installed. This method can also solve the above problems that appear in the Windows operating system. Solve the Chinese input and cursor misalignment in Linux: Many Java developers using Borland JBuilder have encountered such problems: When entering Chinese, the box is displayed; the cursor is misaligning during use. At the beginning, I thought it was Borland's question. Later I checked some information, I found that it was a question of Sun JDK. This is actually an old problem of Sun, Borland is really a bit. Below I solve the above problem, I am using the Redhat Linux 9 operating system and Borland JBuilderx, Note: My JBuilderx is installed in / opt /, please determine the location of the JBuilderx installed. This method can also solve the above problems that appear in the Windows operating system.