Netbeans font adjustment in Ubuntu

Source: Internet
Author: User
Tags netbeans

Netbeans looked uncomfortable with the font in Ubuntu. It was not clear a long line. After checking it, it was found that the font was de-toothed and a solution was found on the Internet:

Find the netbeans settings file, you can use the command locate (whereis) netbeans. conf, usually in/usr/local/netbeans-6.8/etc/netbeans. conf
Modify the Configuration:
Sudo VI/usr/local/netbeans-6.8/etc/netbeans. conf
The default content is:
# $ {Home} will be replaced by JVM user. Home System Property
Netbeans_default_userdir = "$ {home}/. netbeans/6.8"

# Options used by netbeans launcher by default, can be overridden by explicit
# Command line switches:
Netbeans_default_options = "-J-client-J-xverify: None-J-Xss2m-J-Xms32m-J-XX: permsize = 32 m-J-XX: maxpermsize = 200 m-J-Dapple.laf.useScreenMenuBar = true-J-Dsun.java2d.noddraw = true"
# Note that a default-xmx is selected for you automatically.
# You can find this value in var/log/messages. log file in your userdir.
# The automatically selected value can be overridden by specifying-J-xmx here
# Or on the command line.

# If you specify the heap size (-xmx) explicitely, you may also want to enable
# Concurrent Mark & sweep garbage collector. In such case Add the following
# Options to the netbeans_default_options:
#-J-XX: + useconcmarksweepgc-J-XX: + cmsclassunloadingenabled-J-XX: + cmspermgensweepingenabled
# (See http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using -- jdkhome <dir>:
Netbeans_jdkhome = "/home/Hawk/progfiles/jdk1.6.0 _ 18"

Add the blue part above to the following sentence:

Netbeans_default_options = "-J-client-J-xverify: None-J-Xss2m-J-Xms32m-J-XX: permsize = 32 m-J-XX: maxpermsize = 200 m-J-Dapple.laf.useScreenMenuBar = true-J-Dsun.java2d.noddraw = true-J-Dawt.useSystemAAFontSettings = on"

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.