Steps for installing netbeans in Ubuntu and solutions to related problems

Source: Internet
Author: User
Tags glassfish netbeans

After one afternoon, I finally completed the development environment of netbeans + JSF. Now we will record the problems and solutions during the tossing as follows .. :

1. Go to https://netbeans.org/downloads/ to download netbeans-7.3-javaee-linux.sh

2. Add executable permissions to the netbeans-7.3-javaee-linux.sh

Execute chmod + x netbeans-7.3-javaee-linux.sh

3. Execute sudo./netbeans-7.3-javaee-linux.sh

Note: if you do not use the root permission, the installation will fail. A large number of permission denied error messages can be found in the log file.

4. Change the file owner and add permissions to the current user (My name is Bruce ).

Switch to the netbeans installation directory and execute:

Sudo chown Bruce *-R

Chmod + W *-R

Note: If you select to install glassfish when installing netbeans, you must also perform the above steps in the newly installed glassfish directory.

When you start glassfish for the first time in netbeans, a dialog box may pop up asking you to enter the user/password. enter Admin admin.

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.