Problem summary during use of Ubuntu14.4

Source: Internet
Author: User

1. java program font problems. The main reason is that openjdk

Download the latest jdk installation, address: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html

My self-extracting files are resolved to the/opt directory.

Edit ~ /. Profile, and add

Export JAVA_HOME = Your jdk directory
Export PATH = $ JAVA_HOME/bin: $ PATH
Export CLASSPATH =.: $ JAVA_HOME/lib/tools. jar

The next step is to solve the font problem,

So that all Java programs use anti-sawtooth, that is, in ~ /. Add the following content to the profile.

Export _ JAVA_OPTIONS = '-Dawt. useSystemAAFontSettings = On'

2. the ubuntu System option is missing. The main reason is that the software is abnormal and you can reinstall it.

Sudo apt-get install unity-control-center

3. ntfs partition exception

Fix the corresponding ntfs partition (that is, the partition name reported in the error, which is assumed to be sda2 ):
The prompt message contains: ntfs in unsafe state.

Sudo ntfsfix/dev/sda2

4. netbeans font

First, find the etc folder in your netbeans installation folder, open it, find the netbeans. conf file in it, and open it,
Find this 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"
Then, add a space before the quotation mark after the last true, and then type
-J-Dawt.useSystemAAFontSettings = on
Save the settings.
Then select the ubuntu font in the netbeans font settings (this step is very important, which is not mentioned in many tutorials on the internet). If you open netbeans again, it will show more comfortable.

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.