In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what is the method of manually installing Linux Netbeans fonts?" in the actual case of the operation process, many people will encounter such a dilemma, and then let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!
The Linux distribution is Ubuntu8.04, and if you use the JDK in the source, everything is easy (now the version in the source is 1.6u6), JDK6 starts to support anti-aliasing. After installing Netbeans, you will be pleasantly surprised to find that the text on the interface (GTK+) imitating native GUI is anti-aliased, but the text in the editor is aliased, which is awkward when it is small, and it is very obvious to choose a large font. This problem is easy to solve. In the advanced options, just open the font of the editor smoothly.
However, WTK cannot be launched in a Chinese environment under this JDK. This problem can be solved by specifying the startup appearance of WTK as the appearance of swing. In fact, not only WTK, all JavaGUI programs can not start with the appearance of the system, which is particularly damaging to confidence and enthusiasm when generating a JavaGUI program through the wizard of Netbeans. Although it can be solved by setting the appearance of the application swing, or adding some inexplicable variable settings (so that it can start with the appearance of the system), it is still very frustrating.
Sun*** 's JDK6u10 finally solves this problem, so don't use the JDK in the source.
Here's how to install Linux Netbeans fonts manually, which is very simple. First download JDK's bin package, then unzip it, move the extracted folder to your own home folder, and change it to a simple name. Mine is called jdk.
Edit ~ / .profile and add at the end
Export JAVA_HOME=/home/username/jdk export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/tools.jar
It is worth noting that although the jdk is written in the correct location of the jdk, and you can get the output by typing java-version in the console, the Netbeans installer just doesn't know it.
After logging in again, I can run the Netbeans installer. This time I used Netbeans6.5beta. It's still very important for me to upgrade proguard to 4.2. I don't have to set it manually anymore. I don't have to write J2ME programs. As a result-there are no advanced options, and the editor's text is jagged again.
There are three ways to solve this Linux Netbeans font problem:
One is to just let Netbeans use anti-aliasing, edit / etc/netbeans.conf in the Netbeans installation directory, and add this startup parameter.
-J-Dawt.useSystemAAFontSettings=on
The other is to make all Java programs use anti-aliasing, which is to add after ~ / .profile
Export _ JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
* imitate the settings of Netbeans6.1 and add the "advanced settings" of the editor to edit ~ / .netbeans / 6.5beta/config/Editors/Preferences/org-netbeans-modules-editor-settings-CustomPreferences.xml to add such a paragraph.
Truevalue > entry > "what is the method of manually installing Linux Netbeans fonts?" that's it. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.