undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Classpath

# modifying the class path in bash, using : as separator 
# (period corresponds to current directory)
export CLASSPATH=/home/joe/classes:/home/jane/classes:.

# alternatively, the class path can be passed as an 
# argument to java
java -cp /home/joe/classes:/home/jane/classes:. program.java
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content