---
title: "What is the use of bin and lib in JDK?"  
description: "What is the use of bin and lib in JDK?"  
author: "Amit Singh"  
published: 2011-03-28  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/609/what-is-the-use-of-bin-and-lib-in-jdk  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is the use of bin and lib in JDK?

Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.

## Answers

### Answer by Amit Singh

Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.


---

Original Source: https://www.mindstick.com/interview/609/what-is-the-use-of-bin-and-lib-in-jdk

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
