What is the use of bin and lib in JDK?

Answers were Sorted based on User's Feedback



What is the use of bin and lib in JDK?..

Answer / tejash

Bin contains all tools such as javac, applet viewer, awt
tool etc., whereas Lib contains all packages and variables.
Data types,Variables and Arrays

Is This Answer Correct ?    54 Yes 5 No

What is the use of bin and lib in JDK?..

Answer / shruti gupta

'bin' is where binary (executable) files are stored. These
are the Java tools, e.g. java.exe, javac.exe, jar.exe, etc.

'lib' is where library files are stored, these are the Java
classes supplied for you to use in your programs. They are
mainly stored as compressed directories, in .jar files.

Is This Answer Correct ?    27 Yes 1 No

What is the use of bin and lib in JDK?..

Answer / janet

Bin contains all tools such as javac,appletviewer,awt tool
etc where as lib contains API and all packages

Is This Answer Correct ?    28 Yes 8 No

What is the use of bin and lib in JDK?..

Answer / pankaj kumar chaurasia

bin class contain all the tools use for running the any
java program such as javac,appletviewer where as lib
contain all packages reguired or necesary for program

Is This Answer Correct ?    15 Yes 4 No

What is the use of bin and lib in JDK?..

Answer / samborn pen

lib stands for library. The lib contains all the library
functions that are used by either jdk or user. These are the
implicit functions or classes that need not be defined
before using. For eg: the implementation of object class is
defined in lib.

Is This Answer Correct ?    3 Yes 1 No

What is the use of bin and lib in JDK?..

Answer / samborn pen

bin stands for binary. It contains all the binary files
which are used by jdk during program compilation and
execution. If you save your program in bin folder, you need
not set the classpath before execution of programs. However,
this is not recommended practice.

Is This Answer Correct ?    2 Yes 0 No

What is the use of bin and lib in JDK?..

Answer / sunil kumar

bin contains all the tools like awt, applet etc and the lib folder contains all the classes and interfaces in the form of jar files.

Is This Answer Correct ?    2 Yes 0 No

What is the use of bin and lib in JDK?..

Answer / sonu upreti

use of thes file for run java program as exc file . but
there should be jvm than that will be run

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

What are the Object and Class that classes used for?

3 Answers   Mphasis,


What is difference between string and new string?

0 Answers  


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


what is the Arraylist limit (maximum) by default ?

13 Answers   Fidelity, PlanetSoft, Wipro,


Can we convert integer to string in java?

0 Answers  






What is lambda in java?

0 Answers  


How do you control extraneous variables?

0 Answers  


What are the four versions of java?

0 Answers  


Are arrays dynamic in java?

0 Answers  


What is an i/o filter?

0 Answers  


Why do we use regex?

0 Answers  


Can we inherit the constructor in a Class?please give one example.

9 Answers   iGate,


Categories