Enterprise web programming

Units ENTWA (Level 6) and APSW (Level 7)

NetBeans

Introduction

NetBeans is an Integrated Development Environment (IDE) for Java programs. It allows you to edit, compile and run Java applications, applets and servlets.

Versions

Version Java SDK Release date Notes
8.2 8.0 Autumn 2016 For trial use until finally released
8.1 8.0 Autumn 2015

Recommended for home and lab use

8.0.1 7.0 Summer 2014

 

7.3.1 7.0 Summer 2013

 

7.1 7.0 Summer 2012  
7.0.1 6.0 or 7.0 Summer 2011

 

6.9.1 6.0 Summer 2010

 

6.7 6.0 June 2009  
6.5 5.0 or 6.0 (preferred) November 2008  
6.1 5.0 or 6.0 (preferred) April 2008  
6.0 5.0 or 6.0 (preferred)

December 2007

 

Running NetBeans

These instructions have been tested on my machine(s), but you may need to adapt them slightly to apply to your computer.

 

In the lab On your own machine
First time

See the instructions for the Application Jukebox

Download and install it (bundled with latest Java SE SDK) from http://www.oracle.com/technetwork/java/javase/downloads/ or download it separately from https://netbeans.org/

Installation and configuration notes

Subsequent times Select Netbeans from the Start menu.

Either:

  • Double-click the NetBeans IDE icon on your desktop.
  • Select NetBeans | NetBeans from the Start menu.
Common problems    

Using NetBeans

To get yourself familiarised with using NetBeans, use it to write, compile and execute a small Java program.

There are a number of quick start guides, import and migration guides, and tutorials on the NetBeans website.

Appendix: Tool dependencies and specifications

Depending on the version of NetBeans you have, you will get different versions of various Java tools and implementations.

NetBeans version 3.5 3.6 4.0 4.1 5.0 5.5 6.0/6.1 6.5 6.7 6.9 7.0 7.3 8.0 8.1 8.2
is by default bundled with ... Java SE version 1.4.2 1.4.2 1.5 5.0 5.0 5.0 6.0* 6.0* 6.0* 6.0 * 7.0 * 7.0 7.0 8.0 8.0
  Java EE version 1.3 1.4 1.4 1.4 1.4 5.0 5.0 5.0 5.0 5.0 6.0 7.0 7.0 7.0 7.0
... and installs ... Apache Tomcat 4.1 5.0 5.0 5.5 5.5 5.5 6.0 % 6.0 % 6.0 % 6.0 % 7.0 % 7.0 % 7.0 %    
.. and ... Sun Java System Application Server - - - - - 9.0 9.1 - - - - - - - -
... and ... Glassfish Application Server - - - - - 1.0 2.0 3.0 3.0 3.0 3.1.1 4.0 4.0 4.1.1 4.1.1

* If you download NetBeans from netbeans.org you need to download and install Java separately and preferably prior to installing NetBeans. It is almost always best to download the latest stable release of Java.

% Not installed by default; you need to tell the installer if you want it.

 

Last updated by Prof Jim Briggs of the School of Computing at the University of Portsmouth

 
The enterprise web programming units include some material that was formerly part of the WEB1P and WEB2P units.