Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 8th, 2003, 02:43 PM
Authorized User
 
Join Date: Jun 2003
Location: , , United Kingdom.
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
Reply With Quote
  #2 (permalink)  
Old June 8th, 2003, 03:04 PM
Authorized User
 
Join Date: Jun 2003
Location: , , United Kingdom.
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?
Reply With Quote
  #3 (permalink)  
Old July 18th, 2003, 11:08 AM
Authorized User
 
Join Date: Jun 2003
Location: , , United Kingdom.
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"
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:41 PM.


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