Home arrow Apache arrow Page 2 - Preparing the Workspace for Apache Tapestry

JDK - Apache

In the previous article of this series I explained, in the historical perspective, why Tapestry is a very attractive and advanced framework for building Java Web applications. Now we are moving from theory to practice. But before doing anything, we need to prepare the workplace.

TABLE OF CONTENTS:
  1. Preparing the Workspace for Apache Tapestry
  2. JDK
  3. IDE
  4. The Standard Structure of a Java Web Application
By: Alexander Kolesnikov
Rating: starstarstarstarstar / 27
April 10, 2007

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Before installing a JDK, first of all please check to see whether you have installed it already. To do this, try to invoke the Java compiler. Open a command prompt or a console window and enter the following command:

javac -version

If your computer replies similar to this:

C:>javac -version

javac 1.5.0

javac: no source files

Usage: javac <options> <source files>

where possible options include:

... other output goes here ...

then you already have a JDK. Still, check the version. Although Tapestry can work with a version of JDK as low as 1.3, we are going to use annotations in these tutorials, and annotations appeared in version 1.5 only.

If however your computer replies that javac isn't a recognized command, or your version is lower than 1.5, you need to install an appropriate JDK.

To do this, go to the Java.sun.com website and in the menu choose Downloads > Java SE (http://java.sun.com/javase/downloads/index.jsp).

Here you have two options: to download and install JDK itself (the current version is JDK 6) or download and install JDK together with NetBeans IDE (currently JDK 6 with NetBeans 5.5). The latter makes sense if you agree with my suggestion to use NetBeans as the IDE for this tutorial.

The JDK + NetBeans package is available for Windows, Linux and Solaris only, not for Mac OS X, but Macs have a JDK already installed on them anyway.

If your Mac came with JDK 1.4.2 or earlier on it, please check the Java FAQ at Developer.apple.com (http://developer.apple.com/java/faq/) to find out how to upgrade to a higher version.

After downloading a JDK, please follow the provided installation instructions specific to your platform. Or ask me at the discussion page if you have any difficulties.

If you are installing JDK together with NetBeans, simply accept all the default options during the installation.



 
 
>>> More Apache Articles          >>> More By Alexander Kolesnikov
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

APACHE ARTICLES

- Apache Unveils Cassandra 1.2
- Apache on ARM Chips? Dell and Calxeda Help M...
- The Down Side of Open Source Software
- VMware Unveils Serengeti for Apache Hadoop
- SAP Takes Steps to Improve Hadoop Integration
- Looking to Hone Apache Hadoop Skills?
- How to Install Joomla on WAMPP
- Working with XAMPP and Wordpress
- GUI Available for Apache Camel
- Reduce Server Load for Apache and PHP Websit...
- Creating a VAMP (Vista, Apache, MySQL, PHP) ...
- Putting Apache in Jail
- Containing Intrusions in Apache
- Server Limits for Apache Security
- Setting Permissions in Apache

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: