how to set class path in java



how to set class path in java..

Answer / balagangadhar

Go to jdk installation directory and enter into lib folder,
copy the path in the address bar for example: c:/jdk1.5/lib.
On desktop right click my computer icon-> properties ->
click on Advanced tab -> click on Environmental variables ->
click new -> and give variable name as classpath (either
small or caps) and give variable value as c:/jdk1.5/lib; and
click ok
and open command prompt give javac then some lines will be
displayed in command prompt. This is permanent setting of
classpath. For path setting give variable name as path
(either small or caps) and give variable value as
c:/jdk1.5/bin; and click ok

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More JSP Interview Questions

how to print a string with out using out.println?

3 Answers   Elementus Technologies,


What is jsp exception?

0 Answers  


What is page scope?

0 Answers  


how can we retrieve the values in jsp by using custom tags

4 Answers   IBM, Wipro,


What are the ways to insert java code into jsp page?

0 Answers  






What are jsp el implicit objects and how it’s different from jsp implicit objects?

0 Answers  


Is jsp server side or client side?

0 Answers  


What is translation phase?

0 Answers  


What is the purpose of <jsp:setproperty >?

0 Answers  


Explain the various scope values for tag.

0 Answers  


Where we use assertion in java programming?

2 Answers  


Explain client-side and server-side validation.

0 Answers  


Categories