 |
Create the directory structure
 | c:\_home
 | apps (for your Java tools) |
 | devel (for your Java coding projects) |
 | depl (for deploying your Java projects) |
 | data (for project data)
 | data/javadb
|
|
|
|
 |
JDK 6 Update x
(x is the actual JDK sub-version number)
 | JDK goes into c:\_home\apps\java\jdk1.6.0_xx (xx is the update
number) |
 | JRE goes into
c:\_home\apps\java\jre6
|
|
 |
Java SE 6 Documentation
 | Install into
c:\_home\apps\java\jdk-6-doc\docs folder
 | uncompress jdk-6uxx-doc.zip into this folder (xx is the update
number)
|
|
|
 |
The latest NetBeans IDE
'Java SE', 'Java', or 'All' download bundles
 | NetBeans IDE goes into
c:\_home\apps\netbeans 6.x.x (x is sub-version numbers)
 | Tomcat and Glassfish servers
 | c:\_home\apps\Tomcat 6.x (x is the actual Tomcat's
sub-version number) |
 | c:\_home\apps\GlassFish
3.x.x (x is sub-version numbers)
|
|
|
|
 |
Create Windows system environment
variable
 | JAVA_HOME=c:\_home\apps\java\jdk1.6.0_xx (xx is the update number)
|
|
 |
Update Windows PATH system
environment variable
 | add the following string to the end of PATH variable:
 | ;%JAVA_HOME%\bin
|
|
|
 |
CLASSPATH system environment variable
 | add the following string to the end of PATHPATH variable:
 | ;.
|
|
|