Top "Classpath" questions

In Java, the classpath tells the Java Virtual Machine where to look for user-defined classes and packages when running Java programs.

Maven does not add classpath to Eclipse project

I have a maven project, that I'm working on Eclipse. I use maven eclipse:eclipse to generate the classpath, but ... …

eclipse maven classpath
List of dependency jar files in Maven

Using Maven 2, is there a way I can list out the jar dependencies as just the file names? mvn dependency:…

java maven-2 dependencies classpath
Java, Classpath, Classloading => Multiple Versions of the same jar/project

I know this may be a silly question for experienced coders. But I have a library (an http client) that …

java jar classpath classloader
Getting Ant <javac> to recognise a classpath

I have an Apache Ant build file with a <javac> command that requires four specific JARs to be …

java ant classpath
Maven - how can I add an arbitrary classpath entry to a jar?

I have an unusual situation where I need to add an arbitrary classpath entry (that points to a jar file) …

maven-2 build jar classpath
java.lang.ClassNotFoundException in spite of using CLASSPATH environment variable

I am trying to connect to mysql database using java on windows7. In spite of adding the complete url of …

java environment-variables classpath classnotfoundexception
CLASSPATH, Java Buld Path (eclipse), and WEB-INF\LIB : what to use, when, and why?

I recently switched to J2EE from .NET, and am confused about where to put JAR files. I know that …

java eclipse jakarta-ee jar classpath
Android Studio 'tools.jar' file is not present in classpath

I downloaded the current version of Android Studio (latest as of 4th July 2013) I also downloaded the JDK version 7u25. …

ide classpath java-7 android-studio tools.jar
Maven cannot resolve dependency for module in same multi-module project

When running commands such as mvn dependency:build-classpath or mvn exec:java Maven is unable to resolve a dependency of …

java maven jar classpath pom.xml
using classpath: in spring

I have two questions regarding classpath: option in spring :- 1) Does classpath: search for resource relative to the document in …

spring classpath