setting a classpath from java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harig
    New Member
    • Jul 2007
    • 10

    setting a classpath from java

    hi all

    is it possible to set a classpath from java.... for eg. i need to set a classpath for a folder like this

    APP_PATH = c:\tomcat\webap ps\myPath

    how do i set it from java???? anyone help me out of dis...
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by harig
    hi all

    is it possible to set a classpath from java.... for eg. i need to set a classpath for a folder like this

    APP_PATH = c:\tomcat\webap ps\myPath

    how do i set it from java???? anyone help me out of dis...
    There's quite a few articles that have been written about this.
    Just google for "How to set the classpath".

    Comment

    • Nepomuk
      Recognized Expert Specialist
      • Aug 2007
      • 3111

      #3
      Originally posted by harig
      hi all

      is it possible to set a classpath from java.... for eg. i need to set a classpath for a folder like this

      APP_PATH = c:\tomcat\webap ps\myPath

      how do i set it from java???? anyone help me out of dis...
      If you're using an IDE like Eclipse, it will do that automatically. Otherwise, you'll find the solution on the net.

      Greetings,
      Nepomuk

      Comment

      Working...