Forums Java Help What is difference between path and classpath variables

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Aakanksha 6 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15524

    Pitter John
    Participant

    What is difference between path and classpath variables?

    #15526

    Aakanksha
    Participant

    Answer: PATH is an environment variable used by operating system to locate the executables. A Classpath variable is specific to java and used by java executables to locate class files. Location can be provided to classpath while running java application and it can be a ZIP files, directory, JAR files etc.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.