Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 8th, 2003, 02:43 PM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default configuring environment for java

Hello,
I have bought the Beginning JSP 2.0 book, and downloaded and installed the JDK1.4 and Tomcat 5.0. In the Installing the Software section it gives instructions for Configuring Your Environment, [p13] but assumes that you have Windows 2000/XP. The instruction starts off by telling you to:

Open the System item in Control Panel, and select the Advanced tab.

The problem is I am using Windows ME, and there is no Advanced tab. Can anybody please help with advice on how to configure the environment.

Many thanks,
P
 
Old June 8th, 2003, 03:04 PM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found an answer on Google pretty quick:

Go to the Start Menu, then choose Programs, Accessories, System Tools and System Information. A window titled "Microsoft Help and Support" should appear. Select the Tools menu, and choose the System Configuration Utility. Go to the Environment tab where you can look for the PATH to edit.

But now when I try to set up the CLASSPATH variable:
     %CATALINA_HOME%\common\lib\servlet.jar;
I get this error message: 'No environment value substitutions are allowed (no more than one '%').

I can see what this means - but why won't it let me?
 
Old July 18th, 2003, 11:08 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay - I sorted this out. Instead of using the classpath substitution [%CATALINA_HOME%] I used the whole of the Catalina path as the prefix.

A further error is the instruction to use ". . . servlet.jar" - it should actually be: ". . . servlet-api.jar"





Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring IIS simplsoul .NET Framework 2.0 2 April 16th, 2008 05:50 AM
configuring environment variables pete_m BOOK: Beginning ASP.NET 1.0 0 April 28th, 2004 04:40 AM
Configuring MSMQ mchu7aa3 VB Components 0 January 26th, 2004 01:17 PM
Getting started with the JAVA environment JFreeman JSP Basics 2 August 28th, 2003 03:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.