Where is my classpath being set?

Posted by Nimnio on Stack Overflow See other posts from Stack Overflow or by Nimnio
Published on 2010-03-20T04:55:36Z Indexed on 2010/03/20 5:01 UTC
Read the original article Hit count: 365

Whenever I open a Bash shell, my classpath is "someProgram". I know that adding an export entry to ".bashrc" changes my classpath, but I want to know where "someProgram" is being added to the classpath (it's not in ".bashrc").

Is there a way to track down where this is being set, or some typical spots I should be checking besides ".bashrc"?

Details:

I'm using Ubuntu 9.10.

Eclipse Version: 3.5.1 is installed.

echo $SHELL
/bin/bash

java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

javac -version
javac 1.6.0_15

More details if requested.

© Stack Overflow or respective owner

Related posts about java

Related posts about classpath