Install NetBeans using commands in CentOS

Source: Internet
Author: User
Tags netbeans

Install NetBeans using commands in CentOS

Install NetBeans on CentOS of A computer without A desktop

Because the interface is required to install NetBeans, the installation of direct characters will prompt that there are no problems such as X11 for display.

Therefore, you must configure Xming to display the software on computer A on other computers.

1. Check the built-in Java version for java-version.

2. yum-y remove java-*-gcj-compat uninstall the built-in java

3. Go to the following URL to download jdk. Because this jdk is bound to NetBeans, netbeans is automatically installed.

Run./XX. sh and install it step by step.

Http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html

4. Configure Environment Variables

Vi/etc/profile

Last added:

Export NB_HOME =/usr/local/netbeans-8.1
Export PATH = $ PATH: $ NB_HOME/bin

Source/etc/profile make the configuration file take effect

In this way, you can enter netbeans to open the software.

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.