InstallingNetbeansOnDebian4.0

Introduction

This is a guide to get you started with Netbeans 6 M10 on Debian 4.0 "Etch"

Installing JDK

Before you install the Netbeans 6 M10 IDE, the Java SE Development Kit (JDK) 5.0 Update 11 (version 1.5.0_11) or newer must be installed on your system. If you do not have an installation of JDK 5.0 Update 11 or newer, you cannot proceed with the installation. Here, I shall use the JDK version 6 update 2 (jdk6u2) for Linux (i586) available for download here. Please make sure you download the self-extracting binary installer and NOT the RPM package as we are using a Debian system.

Now, run the binary installer on your system and follow the on-screen instructions to install JDK

amit@etch-desktop:~$ ./jdk-6u2-linux-i586.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6
..
...

Assume that the JDK is installed in the directory /home/amit/jdk1.6.0_02

Installing Netbeans IDE 6 M10

Netbeans 6 Milestone 10 implements many of the new features of NetBeans 6.0 and is available for download here

The following installers are available:

  • Basic. Contains tools for programming in the Java language including Profiler and the Matisse drag-and-drop UI design tool.
  • Standard. Provides tools for developing Java SE and Java EE applications and includes the Mobility pack for creating applications for mobile devices. This download option includes the GlassFish v2 application server software, which is a Java EE 5 platform-compatible server for the development and deployment of Java EE applications and Java technology-based web services. The Standard installer allows you to customize your installation by selecting the tools and runtimes you want to install.
  • Full. Extends the functionality included in the Standard download with the tools for Service Oriented Architecture development, constructing Unified Modeling Language diagrams, and programming in the Ruby language. The Full installer allows you to customize your installation by selecting the tools and runtimes you want to install.

I shall demonstrate the installation using the FULL installer. For more installation options and customizations, you are referred to this link. After you have downloaded the installer start the installion process:

etch-desktop:/home/amit# ./netbeans-6.0m10-full-linux.sh --javahome /home/amit/jdk1.6.0_02/
Configuring installer...
Search JVM on the system...
Extracting installation data...
Running installer wizard...
  • This starts the installer

File:Netbeans Installation

  • Agree to the Licence

File:Netbeans Licence

  • The Installation process

File:Installation

File:Screenshot4_InstallingNetbeansOnDebian4.0.png

Starting Netbeans IDE

A shortcut is placed on your desktop which can be used to launch the IDE

File:Starting..

  • Open Project

File:Open Project

  • About

File:Screenshot-6_InstallingNetbeansOnDebian4.0.png

End Notes

Thus, we have seen how to succesfully set up a complete Java development environment on Debian "etch".


Comments/ Suggestions awaited! Amit Kumar Saha

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo