how to set class path in java

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention some important jsp action tags.

734


What is an api with example?

786


How many jsp implicit objects are there?

706


Explain jsp action elements or action tags?

694


What are the different scope values for the jsp objects?

703


What are the steps involved in reading data from a form using jsp?

930


What are the scopes available in ?

707


How do I create a dynamic web project?

649


Give uses of object cloning?

732


What are the types of directives in jsp?

690


What is content type in jsp?

666


What is the standard action?

697


What is the jspinit() method?

694


What is jsp tag?

648


What is the purpose of ?

693