Many java developers face CLASSPATH issue.Let me know why CLASSPATH is important in java applications including desktop , web and mobile.
Many java developers face CLASSPATH issue.Let me know why CLASSPATH is important in java
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Java, classes are loaded as needed while a program runs. The classpath is a list of locations (directory or JAR files) in which the JVM will look for classes to load. If a class to be loaded cannot be found, there will be an error and the program may abort.
Thus, the contents of the classpath are very important, and since it can be configured in a number of ways (the environment variable CLASSPATH is not recommended nowadys), some of them quite complex, there are often problems with a missing or incompletel classpath, especially in server applications.