Netbeans is IDE that is been mostly used by java developers. Installing Netbeans isn’t complicated in various Linux distributed like Ubuntu, Fedora. Ubuntu user can install Netbeans from the Ubuntu software center. If you want to install both tomcat and Glassfish server or want to customize your installation then you might need to follow the below steps. The below procedure is same in all Linux distribution. If you are new to Linux this tutorial will also helps you to execute .sh file extension. Please note for this tutorial I am using OpenSuse 11.04 KDE, However this tutorial will works in every Linux distribution.
Step 1: Download Netbeans . Download the proper bundle that you want to install. If you also want to install Tomcat and Glassfish. Download Java EE or all bundle Package.
After downloading the Netbeans your downloaded file will be in .sh extension. To execute that file you need to run few command from terminal
Step2: Execute .sh file
1. If you can’t give the proper location of your download file I advise you to put the downloaded file in Home folder. Use the following command to execute the file.
Replace the application with the application’s name.
chmod +x application.sh ./application.sh
chmod +x netbeans-7.0.1-ml-javaee-linux.sh ./application.sh
Now you will see the Netbeans Installer in your Linux Distribution. Choose Apache Tomcat and Glassfish Server Open Edition and begin your installation