Detailed description of Netbeans installation and configuration under Ubuntu12.10

Source: Internet
Author: User
Tags netbeans
From Linux to the present, we have been using the VIM compiler to write some small C/C ++ programs, but they are basically single. c or. cpp files. Last semester I was lucky to have access to a project in the lab and found that a proper IDE is still very important. Although eclipse also has CDT to build C/C ++ projects, I think eclipse is suitable for JAVA-related development. In addition, my classmates gave me the code: block is not very useful, so I started to build Netbean.

From Linux to the present, we have been using the VIM compiler to write some small C/C ++ programs, but they are basically single. c or. cpp files. Last semester I was lucky to have access to a project in the lab and found that a proper IDE is still very important.

Although eclipse also has CDT to build C/C ++ projects, I think eclipse is suitable for JAVA-related development. In addition, my classmates gave me the code: block is not very useful, so I started to build the Netbeans environment. In fact, the process is very simple and there are many tutorials on the Internet. However, since I often break my Ubuntu system and often reinstall it, causing me to reconfigure Netbeans, I wrote this article, including the detailed installation process and general problems encountered. To help users who use NetBeans for the first time and summarize their installation experience.

Step 1: Build JDK

This part is necessary for development, and you need to use eclipse, including installation and configuration steps. My processing process is as follows: (skip if you have already set up it)

1> download: Go to Baidu and search for jdk download. The first one is the official download page of Oracle. after entering the page, you can find the JDK download page. There are many differences between versions and systems, until this article is written, the latest version is 7u11 (I am not using the 7u11 version)

Click DOWNLOAD To Go To The 64-bit (Linux x64) and 32-bit (Linux x86) linux system software packages,

Click Accept License Agreement on the left to download it. I have been using the .tar.gz method, rpm has not been used, you want to use Baidu

Take the jdk-7u11-linux-i586.tar.gz as an example, the first few on the road, the i586is the type of the CPU, .tar.gz is actually the suffix of the compressed package. You can view (http://www.linuxidc.com/Linux/2011-08/39996.htm) Your CPU information through the method of the web site. In fact, the i386 software can be applied to all x86 platforms, but it can be seen from the above that the software is i586. Although I have not tried it myself, it should be compatible. You can find the i386 software package. In addition, JDK 1.6 Is In The. bin format and similar commands are used to extract a folder, which will be described later.

2> decompression and Configuration:

Go to the directory of the jdk software you downloaded, and enter the following command (personal suggestion)

If jdk-7u11-linux-i586.tar.gz

Copy the compressed package to the Home Directory ,~ Corresponding to my computer is/home/lu; go to the home directory; after decompression, a directory of jdk1.7.0 _ 11 will be generated under the home Directory; To prevent permission issues during use, you can change all files and subdirectories in this directory to all open permissions, that is, 777. The command is as follows:

Cp jdk-7u11-linux-i586.tar.gz ~ /
Cd ~
Tar-zxvf jdk-7u11-linux-i586.tar.gz
Chmod 777-R jdk1.7.0 _ 11/

For jdk-1_6_0_38-linux-i386.bin, the command is as follows:

Chmod 777 jdk-1_6_0_38-linux-i386.bin
/Jdk-1_6_0_38-linux-i386.bin

After decompression, a folder named jdk1.6.0 _ 38 is generated in the current directory. We recommend that you modify the permission by using the following command:

Chmod 777-R jdk1.6.0 _ 38/

Related Article

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.