Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


mohd yaseen ansari
CLasspath
1 Answer(s)      4 years ago
Posted in : Java Beginners


what is classpath?


Advertisement
View Answers

November 10, 2010 at 12:49 PM


Hello,

Classpath is Environment Variable that tells JVM or Java Tools where to find the classes. In CLASSPATH environment you need to specify only .class files (i.e., jar, zip files ? Inside jar, zip files you will find only java classes) i.e. you are helping java Virtual Machine (JVM) to find java class files.

Thanks



Related Tutorials/Questions & Answers:
CLasspath
CLasspath  what is classpath?   The <B>Classpath... and packages when running Java programs.   Hi Friend, Classpath.... In CLASSPATH environment you need to specify only .class files (i.e., jar, zip files
CLasspath
CLasspath  what is classpath?   Hello, Classpath is Environment Variable that tells JVM or Java Tools where to find the classes. In CLASSPATH environment you need to specify only .class files (i.e., jar, zip files
Advertisements
Java classpath
Java classpath  What is the difference between classpath and path variable
path classpath
path classpath  EXPLAIN PATH AND CLASSPATH ? DIFF send me ans plz.  ... be in path. While Classpath is Enviroment Variable that tells JVM or Java Tools where
Java ClassPath
Java ClassPath       Question: What is the meaning of PATH and CLASSPATH ? How it is set... numerous directories and JAR archives. The -classpath option to javac and java
STRUCT CLASSPATH - Struts
STRUCT CLASSPATH  What is the STRUCT CLASSPATH
Classpath - Java Beginners
Java classpath setting command line  Is there any command line to set the classpath in Java
Installing the Driver and Configuring the CLASSPATH
Installing the Driver and Configuring the CLASSPATH  What is the procedure to Installing the Driver and Configuring the CLASSPATH mysql jdbc connector? the jar file
classpath and path for structs1.3.8
classpath and path for structs1.3.8  How to set classpath and path for structs1.3.8 ?   just add struts-core-1.3.8.jar file to CLASSPATH or ext folder of jdk installation(\jre\lib\ext folder) and add 10 jar files(main
running java with classpath in cygwin
running java with classpath in cygwin  The following command works in cmd.exe but failts in cygwin shell. java -cp .;oracle.jar;mysql.jar Executecmd query value; how should i alter the command to run in the bash shell?thanks
JAVA CLASSPATH PROBLEM
JAVA CLASSPATH PROBLEM  hi all Friends I am stuck using the java servlets and problem raise for classpath. I had a problem with servlet to call... solved this problem by putting the path of classes to the classpath
What is difference between Path and Classpath?
What is difference between Path and Classpath?   hi What is difference between Path and Classpath? thanks   Hi, The Path & Classpath are used for operating system level environment variales. We mostly use Path
setting classpath of tomcat - Java Beginners
setting classpath of tomcat  hello i am giri. I Installed the Tomcat6 in my system and the problem is, How to set the classpath, Please give...;System->Environment Variables-> and set the CLASSPATH C:\Program Files
java classpath prbm in windows 7
java classpath prbm in windows 7  i have a problem to set the classpath in windows7 in my system oracle is not there. environment variables under that user variables i set them like this: CLASS .;C:\Program Files\Java\jdk1.6.0_32
getting an error when set classpath
getting an error when set classpath  Hello Everyone! i have used hssf model for reading excel sheet in my project & i have set classpath for that jar file but when i compile the program it will compile correctly but when i
ClassPath Helper
ClassPath Helper     ... with the classpath. Usually it doesn't take long to generate your first... and easily understood. For example if your classpath reads C:\lib\jar1.jar;C:\lib
Set classpath and "commons-fileupload.jar" - JSP-Servlet
Set classpath and "commons-fileupload.jar"  Hi, Thanks...)..where should i place it, and also confuse at the setting classpath, please guide... Files\Apache Software Foundation\Tomcat 5.0\" After set the classpath
Class path
; The Classpath is an argument that is path through the command line. Classpath can also be though an environment variable. Classpath specify the location of the user... the -classpath option when calling an SDK tool (the preferred method) or by using
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
path - Java Beginners
meaning of path and classpath  what is the meaning of path and classpath. How it is set in environment variable.  Path and ClassPath in in JAVAJava ClassPath Resources:-http://www.roseindia.net/java/java-classpath.shtml
java
java  what is classpath?describe various levels of access protection
java question
java question  what is the difference between path and classpath in java
java - Java Beginners
java  why we use classpath.?  Hi Friend, We used classpath to tell the Java Virtual Machine about the location of user-defined classes and packages in Java programs. Thanks
Query
Query  how can i set path and Classpath or Environmental Variable for jsp/servlet program to compile and run
hibernate
hibernate  hi what are the necessary jar files that we need to set in the classpath to execute a hibernate application
JDBC
JDBC  how to set classpath for eclipse, java, where to copy jdbc connector
Java
Java  What is class path and path in java   Hi Friend, Classpath is Environment Variable that tells JVM or Java Tools where to find the classes. In CLASSPATH environment you need to specify only .class files. Path
Advertisements
 

 

 

DMCA.com