Linux system part of the software in Chinese display garbled boxes what to do

Source: Internet
Author: User

Linux under some software will appear in Chinese to display abnormal problems. Software such as NetBeans that relies on JVM virtual machines to run. This is due to the lack of fonts in the JVM's Chinese display. The method is to add the missing fonts to the JVM directory.

1, Query the JRE directory:

Update-alternatives--config Java

As pictured, get the directory/usr/java/jdk1.8.0_45/jre

Here is the Sun Jdk,linux default use of OpenJDK, the method is the same.

2, get the font GBSN00LP.TTF:

Some of the system defaults to provide this font, you can query/usr/share/fonts search,

Do not provide a direct Internet search to download.

Here for convenience, directly provide font links:

Http://pan.baidu.com/s/1qWwXZh6

3. Transplanting fonts:

Create a folder fallback under the JRE directory/lib/fonts and place Gbsn00lp.ttf in it.

Get permission and so on methods here will not repeat.

4, the effect chart:

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.