Verifying Your Setup

Topics

This section helps you confirm that your development environment is set up correctly.

[Note]Note

For information on where to get these toolkits, see Getting the Tools You Need.

Java

This section ensures that you have the correct versions of JDK installed. These instructions pertain to Linux.

Verifying the JDK Installation

To verify the JDK installation

  1. Open a console window.

  2. Enter the following command

    java -version

    The command response should be similar to the following

    java version "1.5.0_05"
    
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    
    Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

If you do not get the appropriate response, go to the Sun Microsystems web site and check the Java documentation to ensure you have installed everything correctly.

C#

This section ensures that you have correctly installed Microsoft Visual Studio.

To confirm the installation

  1. Open Visual Studio 2005 C# Express Edition.

  2. Click Help > Microsoft Visual Studio.

    A dialog box opens that lists Microsoft Visual Studio 2005 and version 2.0 of the .NET Framework.

Perl

To confirm your Perl installation

  1. Change directories to the Perl installation directory or make sure the installation directory is in your PATH environment variable and run the following command.

    perl -version

    The response should be similar to the following.

    This is perl, v5.6.0 built for Linux-2.4c2.3-i686
    
    Copyright 1987-2000, Larry Wall
  2. If the response you receive is dissimilar to the preceding one, reinstall Perl.

  3. Run the following commands:

    perl -MDigest::SHA1 -e 1
    
    perl -MBundle::LWP -e 1
    
    perl -MXML::Simple -e 1
  4. If you receive any error messages, reinstall the required Perl modules.

PHP

To ensure that you have correctly installed PHP

  1. Use a command-line interface to run the following command:

    php -version
    [Note]Note

    This command assumes you are either in your PHP installation directory or it is in your PATH environment variable.

    The response should be similar to the following.

    PHP 5.1.2 (cli) (built: Jan 11 2006 16:40:00)
    
    Copyright (c) 1997-2006 The PHP Group
    
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
  2. If the response you receive is dissimilar to the preceding one, reinstall PHP.