[kaffe] How to change the boot class path?
Ito Kazumitsu
ito.kazumitsu at hitachi-cable.co.jp
Thu Jan 15 15:46:02 PST 2004
In message "[kaffe] How to change the boot class path?"
on 04/01/15, Matthias Pfisterer <Matthias.Pfisterer at web.de> writes:
> for testing, I want to "shadow" a class in kaffe's rt.jar by a modified
> version of the same class. I routinly do this with the Sun JDK
> prepending a .jar file containing the modified version of the class with
> the -Xbootclasspath/p option. With older versions of kaffe it was
> possible to achieve the same effect by having a file ~/.kafferc with
> lines like:
> --
> CLASSPATH=/home/matthias/java/tritonus/dist/tritonus_core.jar:$CLASSPATH
> --
> This no longer seems to work.
This is what I do.
bash$ cat ~/.kafferc
case "$MYBOOTCLASSPATH" in
"") ;;
*) BOOTCLASSPATH=$MYBOOTCLASSPATH:$BOOTCLASSPATH
;;
esac
When I want to use my own classes instead of those in rt.jar,
I set the environment variable MYBOOTCLASSPATH.
More information about the kaffe
mailing list