---
title: "What is difference between Path and Classpath?"  
description: "What is difference between Path and Classpath?"  
author: "Devesh Kumar Singh"  
published: 2015-11-24  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/22912/what-is-difference-between-path-and-classpath  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is difference between Path and Classpath?

Path and Classpath are operating system level environment variales. Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location .class files.

## Answers

### Answer by Devesh Kumar Singh

Path and Classpath are operating system level environment variales. Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location .class files.


---

Original Source: https://www.mindstick.com/interview/22912/what-is-difference-between-path-and-classpath

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
