Start a command prompt (
Start->Run->cmd.exe)

and type
java -version. If it is found, you should see the java version:

If
java is not found, you'll need to add it to your environment. First,
right click on
My Computer from the desktop and choose
Properties.
From the Properties dialog, choose the
Advanced tab and click the
Environment Variables button.

On selecting the button, you'll be shown the environment settings:

Select the
Path line in the
User variables, click
Edit and append a
semi-colon (;) along with the full path to the Java bin directory. Typically, this is
C:\Program Files\Java\jdk<jdkver>\bin for your JDK. Use explorer to find the JDK install location
and modify the path:

Be sure to include the trailing
\bin\ directory. Additionally, you'll want to set the
JAVA_HOME,
if it is not already set. If
JAVA_HOME does not appear
in the
User variables dialog, hit
New and create a new variable pointing to the
JDK install location (without the trailing \bin\), ie:

Once that is done, repeatedly hit
OK to accept all changes and
close any command prompt windows. The
new environment does not apply to already existing command prompt windows, so ensure to close. Open a new command prompt (as
described above) and type
java -version. You should see the version. If not, reboot and try
java -version
again. If it still does not find java after a reboot, try google, or
mail me for help.
Ensure that the path to java is in the
PATH, and that the path to the JDK is set in
JAVA_HOME. I'll
leave it up to you to search for
(
Linux,
Mac OS9,
Mac OSX,
Solaris)
the appropriate mechanism if you are unsure.
Installing Ant in Windows is most easily done by downloading and installing the latest version of
WinAnt, which is an installer for ant which takes care of setting environment variables.
Ant requires
JAVA_HOME be set, as described above.
If Ant is installed correctly, you should see a message when specifying
ant in the command prompt:

The
Build failed indicates that ant is being found. If you do not see this, ensure that the full path to
ant (typically
C:\Program Files\WinAnt) is in the path, as described above. Additionally,
ANT_HOME must also be set to the full ant install location (again, typically
C:\Program Files\WinAnt) as
shown:
Install ant in your OS via a package manager (if applicable), or download from
the ant website as install as
described.
Take note that
ant must be in the path and that the
ANT_HOME environment variable must be set.
To verify the successful install of ant, invoke
ant from a terminal. You should see it run and spit out
Build failed, which indicates that ant is being properly found. If not found, revalidate your install until ant is correctly installed.
- Choose Help->Install New Software
- Select 'Galileo - http://download.eclipse.org/releases/galileo'
- Scroll down and expand
Web, XML and Java EE Dev
- Choose
- Eclipse Web Developer Tools
- Eclipse XML Editors and Tools
- Eclipse XSL Developer Tools
- JavaScript Developer Tools
- Hit next and proceed to install
To register web .page files as XSL
- Choose Window -> Preferences
- Expand General->Content Types
- Expand to Text->XML->XSL
- Add *.page

Close open editors and restart Eclipse. You should now have highlighting for web files
(*.html, *.css, *.js, *.page, *.xsl).