Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSWDK setup problems

 
Suman Garg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded JDK1.4 , installed it.
Then downloaded JSWDK-1.0.1, installed it.
Im running windows 2000.
i have set the PATH variable to C:\jsdk1.4.1
When i click on Start server, it starts properly,
and i get the message 'endpoint created : localhost/127.0.0.1:8080'
But when i type http://localhost:8080 in the browser, i get 'page not founf' error.
Please tell me exactly what environment variables to set so that my homepage for webserver will load up.
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cute mink,
You should ditch the JSWDK for Tomcat. The JSWDK is really, really ancient.
Get Tomcat from:
http://jakarta.apache.org/tomcat/index.html
Also, the PATH system environmental variable is supposed to be set to the Java 2 SDK 1.4's bin directory... You should first make a environmental variable named: "JAVA_HOME" and point it to your base directory. Do this:
JAVA_HOME = c:\j2sdk1.4.0\
PATH = %JAVA_HOME%\bin
From what it sounds like you, still need to add servlet.jar to your CLASSPATH and also run the start script from your web server (servlet container)'s bin directory and then try viewing it using http://localhost:8080/
Let me know if you need any further assistance.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cute mink,
Please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
 
Suman Garg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy
I changed my display name..
THanks 4 letting me know abt the policy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic