Java EE Installing Netbeans

Материал из Wiki.crossplatform.ru

(Различия между версиями)
Перейти к: навигация, поиск
(Новая: In this part of the Java EE 5 tutorials, we will install Netbeans 6.0. The NetBeans IDE is an open-source integrated development environment. It is entirely written in Java. In Netbea...)
(нарушало авторские права)
 
Строка 1: Строка 1:
-
In this part of the Java EE 5 tutorials, we will install Netbeans 6.0. 
 
-
The NetBeans IDE is an open-source integrated development environment. It is entirely written in Java. In Netbeans, we can develop applications for all Java platforms. We can create mobile, enterprise and desktop applications.
 
-
All this is available out of the box. Don't forget about the System requirements!
 
-
For Ubuntu Linux, this is at least 800 MHz processor, 512 MB memory and 650 MB free disk space.
 
-
Recommended hardware configuration is 2.6 GHz processor, 1 GB memory and 1 GB free disk space.
 
-
 
-
== Steps ==
 
-
First we navigate to the netbeans.org website and download the bundled package. There are 6 various bundles available for us to download. I find this idea really <b>excellent</b>. We only download features that we need.
 
-
 
-
This is a list of 6 bundles
 
-
* Web & Java EE
 
-
* Mobility
 
-
* Java SE
 
-
* Ruby
 
-
* C/C++
 
-
* All
 
-
 
-
I have downloaded the <b>Web & Java EE bundle</b>. We can choose also to install all features in All bundle, if we want.
 
-
 
-
[[image: java_ee_faq_bundles.png| center]]
 
-
 
-
The above image clearly shows, what we are going to install in Web & Java EE. In this bundle we will install tools for creating J2SE applications as well as Java web and enterprise applications. We will also install.
 
-
We will also install the <b>Glassfish</b> application server and <b>Tomcat</b> web server.
 
-
 
-
So I downloaded the latest version of the Netbeans 6 IDE for linux. The downloaded file name is <b>netbeans-6.0-javaee-linux.sh.</b>
 
-
 
-
<source lang="java">
 
-
$ chmod +x netbeans-6.0-javaee-linux.sh
 
-
</source>
 
-
 
-
We make the file executable.
 
-
 
-
<source lang="java">
 
-
$ chmod +x netbeans-6.0-javaee-linux.sh
 
-
</source>
 
-
 
-
Run the install file.
 
-
 
-
<source lang="java">
 
-
Configuring the installer...
 
-
Searching for JVM on the system...
 
-
Java SE Development Kit (JDK) was not found on this computer
 
-
JDK 6 or JDK 5 is required for installing the NetBeans IDE.
 
-
Make sure that the JDK is properly installed and run installer again.
 
-
You can specify valid JDK location using --javahome installer argument.
 
-
 
-
To download the JDK, visit http://java.sun.com/javase/downloads
 
-
</source>
 
-
 
-
I received this error message. It tells, that the installer was not able to find the JDK on my computer.
 
-
 
-
<source lang="java">
 
-
 
-
./netbeans-6.0-javaee-linux.sh --java-home ~/bin/jdk1.6.0_03/
 
-
</source>
 
-
 
-
In such case,  we need to provide the java home directory on the command line.
 
-
 
-
Next we work with a wizard to complete the installation process.
 
-
 
-
[[image: java_ee_faq_wizard.png| center]]
 
-
 
-
 
-
Using the wizards, we accept licence agreements, provide the netbeans install directory, configure glassfish properties and provide the tomcat installation directory.
 
-
 
-
<source lang="java">
 
-
./netbeans --laf javax.swing.plaf.metal.MetalLookAndFeel
 
-
</source>
 
-
 
-
The default look and feel for linux was some awful theme. So I had to change it to the typical metal laf.
 
-
Highly recommended.
 
-
 
-
[[Категория:Java]]
 

Текущая версия на 11:36, 7 апреля 2009