Installing NetBeans

From PardusWiki
Jump to: navigation, search

Contents

About NetBeans

The NetBeans IDE is an open-source integrated development environment written entirely in Java using the NetBeans Platform. NetBeans IDE supports development of all Java application types (J2SE, web, EJB and mobile applications) out of the box. Enterprise, Desktop, Web and Mobile applications can be developed using Java, C/C++ and Ruby. The current version is NetBeans 6.5 Beta. Installing NetBeans IDE is easy and it runs on Windows, Linux, Mac OS X ,Solaris and any other platforms. Besides , NetBeans IDE also have plugin support to enlarge the development enviroment.

Installation

1)Download Netbeans binary package from [here](for 6.1)

2)Open the console and run

 LC_ALL=C

command.After that all the language settings will be set to run on ASCII local. (With NetBeans 6.5, there will be no need to step 2.)

3)Right click to downloaded file netbeans-6.1-ml-javaee-linux.sh. Select Properties. On "Privelleges" tab make the file executable. Click "Ok"

NetbeansKurulum17.jpg NetbeansKurulum18.jpg


You may also do the same with the command given below.

 chmod +x netbeans-6.1-ml-javaee-linux.sh

4)Run the file by double clicking or with the command given below.

 ./netbeans-6.1-ml-javaee-linux.sh

NOTE: Please be patient after double clicking the file. It may take some time to load the installer wizard.

Then the installation wizard begins. In the first window we see the version information and the purpose of this installation. Additionaly, if you also want to install GlassFish or Apache Tomcat application servers , you can choose here. To start the installation click Next.

NetbeansKurulum8.jpg


5)Accept the licence agreement and click Next.

NetbeansKurulum4.jpg


6) Choose the installation directory. By default the wizard will create a folder named netbeans in your user home directory. If you want to change the installation directory click Browse and show where you want to install NetBeans. Subjacent field shows which JDK to use. You may choose any other JDK clicking Browse here. After then click Next to go on installing.

NetbeansKurulum5.jpg


7)Next window shows us the total disk space installation will use and the installation directory. If agree, click Install to go on installing.

NetbeansKurulum11.jpg


8)Installation starts

NetbeansKurulum9.jpg


9)Click Finish to finish installation.( Here, you may choose to register your NetBeans IDE. If so, a browser window opens the NetBeans registiration page)

NetbeansKurulum10.jpg


10)After installation open /netbeans/bin/netbeans file with any text editor. Add LC_ALL =C line just after the comments.

Configuration

In Turkish operating systems you may have problems while installing Netbeans. For this reason, after the installation you should edit {NetBeans}/etc/netbeans.conf file and append --locale en:US at the end of the line which includes netbeans_default_options (before the quote at the end of the line).

(Türkçe işletim sistemlerinde NetBeans kurmak biraz sorunlu.Türkçe işletim sistemleri altında NetBeans kullanmak için ayrıca, kurulum bittikten sonra NetBeans kurulum klasörü içerisinde {NetBeans}/etc/netbeans.conf dosyasını açıp netbeans_default_options satırının sonuna --locale en:US eklemek gerekmektedir.)

NetbeansKurulum15.jpg NetbeansKurulum16.jpg


After all NetBeans is ready to use. You can run it by the shortcut on your desktop or

 Pardus->Applications->Programs->Development->NetBeans

menu.

A document containing NetBeans 6.0 keyboard shortcuts can be found on http://wiki.netbeans.org/KeymapProfileFor60. Documents for other versions can be found in a likely way.

Update

Use the

 Help->Check For Updates

menu to retrieve updates.

NetbeansKurulum12.jpg

NetBeans IDE has plugin support. Use the

 Tools>Plugins

menu to see plugins.

NetbeansKurulum19.jpg


Here you can see installed plugins and their updates, and new plugins. When you choose any plugin to install the dependence check of that plugin will also be done.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox