L’équipe de NetBeans vient de livrer la version M2 de l’EDI NetBeans 7.0. Voyons son installation sous Ubuntu10.10 Maverick Meerkat.
Les nouveautés (en anglais)
- Java
- Support for Maven 3
- JUnit 4.8.2 integration and various JUnit improvements
- Remote HTTP URLs supported for Javadoc in libraries and Java platforms
- New improved visual customizer for GridBagLayout
- Java EE
- Improved support for CDI, REST services and Java Persistence; new support for Bean Validation
- Support for JSF component libraries, including bundled PrimeFaces library
- Improved editing for Expression Language in JSF, including code completion, refactoring and hints
- GlassFish
- GlassFish 3.1 Support
- Domain restart and log viewer for remote GlassFish
- Enable and disable deployed applications
- WebLogic Application Server
- Streamlined and faster deployment to WebLogic
- New server runtime node displaying deployed applications and resources
- JSF integration with server libraries
- Platform
- Less intrusive checking for external changes when switching between the IDE and other programs
- Editor
- Word wrap
- Show invisible characters
- HTML 5 support
- PHP
- Generate PhpDoc
- Rename refactoring, Safe Delete Refactoring
Installation
Télécharger NetBeans : http://netbeans.org/downloads/index.html
Dans un premier temps contrôlé si vous avez le Jdk6 est déjà installer sur votre poste :
java -version
qui doit retourné quelque chose comme ceci :
<div id="_mcePaste">java version "1.6.0_20"</div> <div id="_mcePaste">OpenJDK Runtime Environment (IcedTea6 1.9) (6b20-1.9-0ubuntu1)</div> <div id="_mcePaste">OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode)</div>
Dans le cas où le jdk6 n’est pas installé, exécuté la commande suivante :
sudo apt-get install sun-java6-jdk
Une fois le fichier téléchargé et le jdk installé, il faut modifier les droits du fichier :
chmod +x netbeans-7.0m2-php-linux.sh
Exécuté ensuite le programme d’installation:
./netbeans-7.0m2-php-linux.sh