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

What is scripting elements in jsp?

0 Answers  


How are custom tags in jsp created?

0 Answers  


What is context in jsp?

0 Answers  


How can we handle the exceptions in jsp?

0 Answers  


What are different types of comments in jsp?

0 Answers  






how to maintain sessions in jsp?can you tellme the methods.

16 Answers   IBM, Scope International, TCS,


What do you know about jsp tags?

0 Answers  


What is difference between custom jsp tags and beans?

0 Answers  


What is jsessionid?

0 Answers  


Can I declare a java class in jsp?

0 Answers  


What is client side technology?

0 Answers  


What is jsp translation time?

0 Answers  


Categories