Ubuntu14.04 Kylin Version Installation: Netbeans,java operating environment and Netbeans font blur problem

Source: Internet
Author: User
Tags netbeans

One. Configure the Java Runtime Environment:

NetBeans is a Java-based development, and it is necessary to configure the Java Runtime environment to install run Neabeans. Java is also divided into the following two kinds:

    • JRE, which is the environment you need to run a Java-based application that is normally required. If you are not a program clerk, these are enough for your needs.

    • The JDK represents the Java SDK, and if you want to do something about Java development (read programs), that's exactly what you need.

1. Installing the Java JRE
sudo apt-get install openjdk-7-jre-headless

After the installation is complete, enter:

Java-version

Displays the following information

Indicates a successful installation!

2. Installing the Java JDK
sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get Install Oracle-java8-installersudo apt-get Install Oracle-java8-set-default

The time is slightly long, installs well after the same test. But the Java developers also need to configure the environment variables, which I will not say more.

Two. Installing NetBeans1. Download the appropriate version:

Go to the following address to download the appropriate version: (I am under the almighty version)

https://netbeans.org/downloads/

When you are finished, you will wait for a. sh file to end. We just need to go to the target folder and enter the following command:

sudo sh target file. sh

Just like the installation in win environment.

2.netbeans font blur antialiasing problem

If you go to NetBeans, you will find that the font is very blurry. The solution is as follows:

Find a NetBeans setup file, typically in/usr/local/netbeans-6.8/etc/netbeans.conf

sudo vim netbeans.conf

Found it:

Netbeans_default_options= "-j-client-j-xss2m-j-xms32m-j-xx:permsize=32m-j-dapple.laf.usescreenmenubar=true- J-dapple.awt.graphics.usequartz=true-j-dsun.java2d.noddraw=true-j-dsun.zip.disablememorymapping=true "

At the tail add:

-j-dawt.usesystemaafontsettings=on

Note There are spaces! As follows:

Netbeans_default_options= "-j-client-j-xss2m-j-xms32m-j-xx:permsize=32m-j-dapple.laf.usescreenmenubar=true- J-dapple.awt.graphics.usequartz=true-j-dsun.java2d.noddraw=true-j-dsun.zip.disablememorymapping=true- J-dawt.usesystemaafontsettings=on "

Finally save the restart. Ok!


Ubuntu14.04 Kylin Version Installation: Netbeans,java operating environment and Netbeans font blur problem

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.