This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting classpth for jar files  RSS feed

 
Nithish Yalamanchili
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai

Iam having multiple jar files(servlet-api.jsp-api,mysql-conn..) in Tomcat/common/lib.

How to set classpath for 2jar files in environment variables .
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To set a classpath for a JAR file, you need to include the JAR name, e.g.
$TOMCAT_HOME/common/lib/servlet-api.jar:$TOMCAT_HOME/common/lib/jsp-api.jar, etc etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!