...
I will also briefly describe how to import and build a Maven-based project within Netbeans.
Warning | ||
---|---|---|
| ||
These linux specific instructions are not up-to-date. You should just follow the generic instructions. |
Downloads
Java
Java 1.5.0 can be downloaded at http://java.sun.com/j2se/1.5.0/download.jsp.
Info | ||
---|---|---|
| ||
Set the JAVA_HOME variable to your JDK root area. Otherwise, Maven may not pick up the correct Java compiler. |
At SLAC, you can setup the shared Java 1.5.0 JDK on Linux by executing this command.
No Format |
---|
export JAVAVER=1.5
|
Netbeans Installer
Get the install files for Netbeans from http://www.netbeans.org/index.html.
...
No Format |
---|
wget http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-1.0.2.tar.gz |
Maven NBM
Mevenide provides Maven support in the Netbeans IDE. You need to get the "nbm" files for Maven support within Netbeansfrom the Mevenide Downloads Area .
download
No Format |
---|
wget http://mevenide.codehaus.org/download/mevenide-netbeans-autoupdate-1.0.nbm wget http://mevenide.codehaus.org/download/mevenide-netbeans-grammar-0.6.1.nbm |
...
For instance, this shows the shared install used at SLAC.
At SLAC, you can setup Java 1.5.0 by executing this command.
...
When finished, startup Netbeans.
...