p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   JSP Basics (http://p2p.wrox.com/forumdisplay.php?f=92)
-   -   configuring environment for java (http://p2p.wrox.com/showthread.php?t=292)

pedersen June 8th, 2003 02:43 PM

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

pedersen June 8th, 2003 03:04 PM

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?

pedersen July 18th, 2003 11:08 AM

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"


All times are GMT -4. The time now is 09:47 AM.

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