wood burning stoves 2.0*
The moose likes Servlets and the fly likes settings for jswdk???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "settings for jswdk????" Watch "settings for jswdk????" New topic
Author

settings for jswdk????

preeti dengri
Ranch Hand

Joined: Nov 30, 2000
Posts: 111
Hi,
I am unable to correctly configure the jswdk1.0.1.the settings for Env. var says to use jdk1.2 .can i use jdk1.3???
and how to set JAVA_HOME??
while i am starting the webserver it is giving me
" out of environment space" error i did increased the memory (initial environment under ms-dos properties)but it didn't work.
please help
preeti
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

hmmmmmmmm!!!
and how to set JAVA_HOME??
hopefully you aren't trying to mock the forum.
yeah, yeah I know you are a beginner.......anyways!
In Windows, at a command prompt type
set JAVA_HOME=C:\jdk1.2
or whatever dir your JDK is.
while i am starting the webserver it is giving me
" out of environment space" error i did increased the memory (initial environment under ms-dos
properties)but it didn't work.

Use the right mouse button and bring up the properties.
goto the memory tab and then in the drop down box in the right
select a higher number like 4096. This should fix it.
Also, you might want to keep in mind that jswdk is outdated
and the suggested alternative is Tomcat.
Just my two cents.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
preeti dengri
Ranch Hand

Joined: Nov 30, 2000
Posts: 111
Hi Madhav,
i am not at all trying to mock the forum.the installation and then the settings were not working right.i will now move to tomcat as u said.
Thank you
preeti
sachin dabhade
Ranch Hand

Joined: Mar 10, 2001
Posts: 73
set java_home="c:/jdk1.2.2"
why dont you try jrun or tomcat?
there is also a webserver called resin, easy to use and superb for beginners
sachin
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

preeti:
no offense, I do remember your previous posts abt
beginning servlets and jsp's. but then I wasn't
expecting a fundamentatl qstn like that....
now that I could convence you to use Tomcat, I know
you will have better doubts. To get started, try to
read the other posts abt Tomcat here. Good Luck.

- satya
prashant sreenivasan
Greenhorn

Joined: Nov 19, 2000
Posts: 6
edit the file startserver.bat
add the lines
set JAVA_HOME=C:\jdk1.3 or JDK1.2 whatever you use
also add
set classpath=C:\jdk1.3\lib\tools.jar;C:\jswdk-1.0.1\lib\servlet.jar;
On running the server you should get only three lines of output
JSWDK Webserver.......
Loaded conf.......
endpoint created..........
as for the memory problem it occurs due to the OS
Go to the properties of the command prompt amd mke the initial environment to 2816 leave the remaining as auto and then run the startserver.bat file directly from the commamnd prompt
This will solve the problem
[This message has been edited by prashant sreenivasan (edited April 24, 2001).]
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

as a supporter of "non-discremination policy" Microsoft
allows the following problem
as for the memory problem it occurs due to the OS win95
to occur in Windows '98 OS also.
regds.
- satya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: settings for jswdk????