Java Design Concepts

Design Concepts in Enterprise Systems using Java
  • Home
  • Architecture
  • Design Concepts
  • Java Enterprise Edition
  • Java Standard Edition
  • Middleware
  • Systems & Hardware
  • Other

Install NetBeans on Ubuntu 8.10 (Intrepid Ibex)

Byadmin on Dec 18, 2008 | In Ubuntu

There are several ways of installing NetBeans on the Ubuntu operating system. One of the easiest ways is to make use of the Package Manager utility within Ubuntu. Another option is to download the required version from the NetBeans website and run the installer in a terminal. The following installation methods will be explained in the following section:

  • Install NetBeans via Ubuntu Package Manager
  • Install NetBeans via Installer (Manual Download)

Required Software

The NetBeans IDE requires Java SE Development Kit (JDK) 5 or later. This might vary depending on the version of NetBeans you install. To ensure that all the required software are installed, read the installations instructions of the NetBeans IDE when doing a manual installation. The Ubuntu Package Manager will download all required packages and install them before the utility will start the installation process for NetBeans.


Method 1: Install NetBeans via Ubuntu Package Manager

The following section describe how to install the NetBeans IDE on Ubuntu via the Package Manager Utility provided by the operating system.

  1. Setup the Source Repository
  2. To install NetBeans via the Ubuntu Package Manager, ensure that the correct repository is listed in the source listing file. NetBeans is found inf the universe repository and Java is found in the multiverse repository.

    Code:

    sudo gedit /etc/apt/sources.list

    Ensure that the following sources are added to the configuration file:

    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid universe
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid universe
    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates universe
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates universe
    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

    After the configuration file is updated, the package repository needs to updated with the following command:

    Code:

    sudo apt-get update
  3. Install Required Software
  4. To install Java version 6, the following command needs to be executed:

    Code:

    sudo apt-get install sun-java6-jdk sun-java6-plugin
  5. Install Netbeans IDE
  6. To install NetBeans, the following command needs to be executed. The package manager does not necessarily install the latest version of NetBeans. The package manager will install the latest NetBeans that is supported by Ubuntu.

    Code:

    sudo apt-get install netbeans


Method 2: Install NetBeans via Installer (Manual Download)

The following section describes how to install the NetBeans IDE on Ubuntu via a manual download. This method enables you to choose the version of NetBeans to install as well as the additional bundles available.

  1. Setup the Source Repository
  2. To install NetBeans via the Ubuntu Package Manager, ensure that the correct repository is listed in the source listing file. See Method 1 above. Java 6 is found in the multiverse repository.

    Ensure that the following sources are added to the configuration file:

    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
    • deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
    • deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
  3. Install Required Software
  4. To install Java version 6, the following command needs to be executed:

    Code:

    sudo apt-get install sun-java6-jdk sun-java6-plugin

    The following command is used to ensure the correct version is used:

    Code:

    sudo update-java-alternatives -s java-6-sun
  5. Install Netbeans IDE
  6. To install NetBeans, download the appropriate installation file from the Official NetBeans Download Site. The version of NetBeans that was downloaded for this post is: NetBeans V6.5 - Full Bundle. (netbeans -6.5-ml-linux.sh)

    Code:

    sudo ./netbeans-6.5-ml-linux

    After the command is executed and the sudo password is supplied, the following screen will display. It provides the user with some options on the bundled software packaged with the NetBeans installation.

    After selecting the additional packages to install, the following screen will display. This section gives the user the options where to install NetBeans and additional software.

    The installation process will take a few minutes to complete.


Conclusion

There are several more ways to install the NetBeans IDE on Ubuntu. Each of the different ways have advantages over the other. The Package Manager method takes care of the installation and dependencies issues. To update the NetBeans package is taken care of by the Package Manager. The disadvantage is that the Package Manager may not always be able to install the latest version of NetBeans, as it might not be supported by Ubuntu at that moment. The manual installation takes solves this issue.


1 2 3 4 5 6 7 8 9 10 11 ... 15 >>
  • Java Design Concepts

  • Java Design Concepts provides information on how to design, implement and deploy system in a high availability enterprise environment. The design concepts include design patterns, and Object Oriented Programming (OO). Java technologies include J2EE, EJB, JAF, JMS, JSP, JSTL, JDBC etc...


  • Author - Andre Mare

    Andre Mare is a J2EE Architect and has more than eight years experience in development and design of enterprise systems. His CV will be attached soon.
  • View André Maré's profile on LinkedIn

  • Duke - Java Mascot

    Duke became the Java mascot when Java technology was first announced, right around the same time that the first Java cup logo was commissioned.


  • Cool Blogs I Read

    • Naschenweng.info
    • Our African Couch

  • Blog Directory - Blogged Blog Directory
    Add to Technorati Favorites
  • JavaBlogs Afrigator
  • SA Topsites ::
  • ZA TOP Sites
  • Locations of visitors to this page
  • Subscribe to my RSS Feed

    Add to Google Reader or Homepage
    Subscribe in NewsGator Online Add to My AOL

     Subscribe in a reader

  • Advertise on my Site


Contact | Powered by b2evolution + evoCamp skin
Credits: Blog Design | blogging software | hosts UK | adsense