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.