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
posted
0
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
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
posted
0
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
posted
0
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
posted
0
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
posted
0
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