aspose file tools*
The moose likes Servlets and the fly likes compiling and running jsp prog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "compiling and running jsp prog" Watch "compiling and running jsp prog" New topic
Author

compiling and running jsp prog

shanti surap
Greenhorn

Joined: Oct 24, 2000
Posts: 14
Hi all!
I'm new to jsp
I'd downloaded jswdk 1.0 set my classpath as
set path=c:\jswdk-1.0.1;%path%(my jswdk-1.0.1 is in c
put my first jsp program in the webpages directory of jswdk
clicked on the startserver.bat of jswdk
then the message I got was
'out of environment space
using classpath'
so its clear the path i mentioned's not appropriate...
then what cud it be?
I tried
set path=c:\jswdk-1.0.1\webpages;%path%
set path=c:\jswdk-1.0.1\examples\jsp;%path%
set classpath=c:\jswdk-1.0.1\lib;%classpath%
but in vain
ur help wud be greately appriciated.....
Thanx in advance
regards
Shanti.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
out of environment space
means that your memory setting are wrong.
Do this:
open a DOS Comman Prompt. Go to the top left corner
and using the right mouse button, select the
properties menu. Then in the memory select
something like 4096 (select the number from
the list). Apply if necessary, then close the DOS
prompt. Open it again, goto the jswdk library and
then use the startup script reather than clicking
on it.
HTH.
Regds.
- satya

[This message has been edited by Madhav Lakkapragada (edited November 11, 2000).]


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
shanti surap
Greenhorn

Joined: Oct 24, 2000
Posts: 14
Hi Satya!
Thanx for ur reply.
I tried changing memory n set that as 4096, closed the prompt n opened the prompt too.
but here I dont get what u mean by open jswdk library (do u mean I change into the subdirectory c:\jswdk-1.0.1\lib
cud u pls elaborate more on what u mean by startup scripting ?
Thanx
Shanti
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: compiling and running jsp prog