JBuilder X (2005) supports Chinese and lost characters

xiaoxiao2021-03-06  47

Today, I am depressed. After writing the code, I start supplementing the document. I need a Chinese. I started to knock online. Who knows that I am knocked, I suddenly remind me, telling "a certain variable can not be recognized", to the wrong place I don't understand why I don't understand. The situation is like this: the error says "unrecognizable class SRING", but the encoded place is "string", but the editor is identifying "SRing". It's really depressed. I said using EditPlus to see, and it is a character "T". I didn't care when I started, I thought it was just a small problem. However, as soon as it is one of the characters, even the space is calculated that it will prompt to identify variables, class names, etc. So I feel that it is JBX my own problem, and it must be a question of encoding, but I don't know how I should solve it, I have to win the JB for a while.

.

Later, I couldn't stand it. I installed JB2005, I started to feel good, but I didn't knock two lines again.

. This is really not going to search online. I have a problem about the character loss of characters in JB. Don't say that there is still a lot, I think this is a common trouble, very impact on work efficiency, brother, touch I will know huh. Below I will turn the relevant information, for your reference, but also use it yourself ^ _ ^

[The following is transferred from Borland website]

Q: What should I do if I have lost characters in jbuilderx?

A: This problem is because JDK 1.4 supports problems with GB18030 for Chinese platforms. It is recommended to use the following methods:

Add to /JDK.CONFIG

VMParam -dfile.Encoding = GBK

Workarounds of various JBUILDERX Chinese issues

One.

Q: My JBX does not support Chinese on the programming interface, what should I do?

A: It is recommended to use the following methods:

1. Find the C: / Documents and Settings / Administrator / .primetimex / User_zh.properties file. 2. Backup User_ZH.Properties file (such as User_ZH.Properties.old) 3. Find editor.display; fixed_fonts.2, change it to editor.display; fixed_fonts.2 = / u5b8b / u4f53 (Unicode of the Song) 4. Start JBX in Tools | Preferences | Editor | Display can be selected.

Note: 1. You can also add other fonts, add editor.display; fixed_fonts.3 ..., add it, but pay attention to the Chinese Unicode if it is Chinese. 2. Chinese fonts (such as the Song) may be aligned in some places, in Tools | Preferences | Editor | Color, all bold (such as reserved word) is canceled.

two.

Q: My JBX does not support Chinese on the menu interface, what should I do?

A: It is recommended to use the following methods:

Start JBX in Tools | Preferences | Browser | Look & Feel Talk to Use Different Font and select a Chinese font, such as SIMSUN - Song.

three.

Q: My JBX does not support Chinese on the design modeling interface, what should I do?

A: It is recommended to use the following methods:

Start JBX, in Project | Project Properties | Modeling and select a Chinese font, such as SIMSUN - Song. Note:

You can choose a Chinese font in Project | default project property | model, such as SIMSUN - Song, which will now set this option automatically.

four.

Q: At present, JBuilderx, Enterprise Studio 7 for Java cannot be installed in Windows Server 2003, what solution is there?

A: It is recommended to use the following methods for different products:

JBuilderx: Insert JBuilderx DISC1 (or expands the ZIP package). If the CD will automatically pop up the installer. Do not install, use the file manager to find /Windows/ent_install.exe, right-click property, selective, run this program in compatibility mode, "in the drop-down list, select Windows XP (or Windows 2000), determine . Then install it according to normal steps.

For Studio 7: 1. Insert Studio 7 Disc1 (or unstart the installation zip package), if the CD will automatically pop up the installer. Do not install, find the /Windows/studio_install.exe, the right key point "Properties", select "Compatibility", and run this program in a compatibility mode, select Windows XP (or Windows "in the drop-down list 2000), determined. Then install it according to normal steps. 2. Insert the second disk (install TJB), insert the second disk. But do not press the confirm key. Open the file manager first, find /Windows/install.exe on the second disk, modify the file properties, then press the confirm key to continue the installation. 3. Tips After inserting the third disk (install Optimizeit), insert the third disk. But do not press the confirm key. Open the file manager first, find /Win32/setup.exe on the third disk, modify the file properties, then press the confirm key to continue the installation.

Note: Because Borland's Java full range of installation disks made by Zero G's Install Anywhere, many products have problems under Windows 2003, including: JBuilderx, TJB7, Studio 7, Optimizeit Suite 6, Servertrace 2, JDATASTORE 7, BES 5.2.1. Solution to modify the installation file to run the compatibility property. BES 6.0 has no problem since the new Install Anywhere 5.5 is used.

Fives.

Q: I have installed JBuilderx, but the installation path is not C: / JBuilderx. Therefore, the problem that TOGETHER For JBuilderX 7 is installed. What solution is there?

A: It is recommended to use the following methods:

1. First determine the path to the installed JBuilderx. For example: D: / jbuilderx2. Insert Studio 7 Disc2 (or separate TJB7 ZIP package, the trial version of the customer may get such a package) 3. If it is a Windows 2003 operating system, first modify the file attribute 4 in the above instructions 4 Open a command line window (CMD), transfer the directory into the TJB installation disk or install package / windows directory 5. Run install -duser_install_dir = "". For example, JBuilderx's installation path is d: / jbuilderx, then execute: install -duser_install_dir = "d: / jbuilderx" 6. Installer Auto Installation Complete Note: This problem key is that JBuilder is installed separate JBuilderx CD, not Enterprise Studio 7 JBuilderx - Disk1 CD in For Java. If it is the latter, there is no need to set it. It automatically looks for the Directory installed by JBuilderx to complete the installation.

six.

Q: When a new project is created, the default diagram will put it under the unified path DIAGRAMS. The new project will automatically introduce all the previous Diagram all in this path. What solution is there?

A: It is recommended to use the following methods:

Path [0] .defaultdiagram = D% | / JBX / DIAGRAMS modification of DEFAULT.JPR (default path is C: / .jbuilderx) For Sys [0] .defaultdiagram = D% | / JBX / DIAGRAMSSS [0] .diagram = D% | / JBX / DIAGRAMS.

转载请注明原文地址:https://www.9cbs.com/read-55015.html

New Post(0)