Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How To Set Classpath in Apache Tomcat Permanently

Share this post!
 Vote this!


This tutorial will guide you on how to set the classpath in Apache Tomcat permanently, so that we don’t need to set the classpath each time. Apache Tomcat is one the most widely used webservers, but unlike WAMP, XAMPP Apache distributions, Apache Tomcat needs the user to set the classpath after the installation. Once you install Apache Tomcat, to run the server, we need to execute startup.bat present in the bin folder,there is already a file present in bin folder to set the classpath, but it hardly works on most of the machines. Apache Tomcat requires either JAVA_HOME or JAVA_JRE classpath to be set in order to work. Without setting these classpath Tomcat will throw the following error “Either JAVA_HOME or JAVA_JRE is required for Apache to start“.      More...

1 comment:

  1. Hi , nice post but not in detail. I have given in detail explanation with images Go through this and Configure Tomcat and Set the Classpath

    ReplyDelete