Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

meaning of the content %classpath%

 
Komal Amaresh
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have started on servlets. I could not compile servlets in the command prompt. I was told that we needed to first set the classpath in the command prompt.
But the way it is called seems confusing.
I needed to set it the following way.

set CLASSPATH=%CLASSPATH%;servlet-api.jar

this did help in resolving my problem. What is the meaning of the"%" passed and how does it help.
I have set the path of tomcat calling bin in the path and the lib in the classpath.

Please explain.

regards,
Komal
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please take a look at this link. HowToSetTheClassPath

Hope this helps,
Srikkanth
 
Campbell Ritchie
Sheriff
Pie
Posts: 50251
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to servlets forum. Please have a look at the FAQ link at the top of each forum; there might be something useful there.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's how DOS-ish environment variables work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic