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.

How do you change the CLASSPATH within Java?

How do you change the CLASSPATH of a Java process from within the Java process? Before you ask me "Why …

java clojure classpath
IntelliJ gives Fatal Error: Unable to find package java.lang in classpath or bootclasspath

When I try to make a simple module in IntelliJ it responds with: Fatal Error: Unable to find package java.…

intellij-idea classpath
Android - Command not found

I am trying to run the command in ubuntu android update project --path . However I am getting a android:command …

android linux classpath
Loading spring application context files that are inside a jar in classpath

I am trying to use ClassPathXmlApplicationContext in my java standalone code to load applicationContext.xml that is inside a jar …

spring dependency-injection classpath
How to set a long Java classpath in Windows?

I'm trying to run a particular JUnit test by hand on a Windows XP command line, which has an unusually …

java junit classpath
Generate manifest class-path from <classpath> in Ant

In the build file below, the jar target refers to the jar.class.path property for the manifest class-path. The …

ant jar classpath manifest
How to get Java File absolute path from InputStream?

I'm on Java 6 and I have a method that scans the runtime classpath for a file called config.xml. If …

java file-io classpath classloader absolute-path
ClassLoader getResourceAsStream returns null

My project directory structure (in Eclipse): MyProject/ src/ --> "source directory" on Eclipse's classpath/buildpath com.me.myapp Driver …

java eclipse classpath classloader inputstream
Spring classpath prefix difference

Documented here it states This special prefix specifies that all classpath resources that match the given name must be obtained (…

java spring classpath
Purpose of buildscript block in Gradle

I am new to Gradle and I am reading the documentation but I don't understand some parts of it. One …

classpath gradle