This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "compiling and running jsp prog" Watch "compiling and running jsp prog" New topic

compiling and running jsp prog

shanti surap

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
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.
- satya

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

Take a Minute, Donate an Hour, Change a Life
shanti surap

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 ?
I agree. Here's the link:
subject: compiling and running jsp prog
jQuery in Action, 3rd edition