[kaffe] How to change the boot class path?

Matthias Pfisterer Matthias.Pfisterer at web.de
Thu Jan 15 23:51:03 PST 2004


Thanks, this solution works.

Matthias

Ito Kazumitsu wrote:
> 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.



-- 
Matthias Pfisterer	<mailto:Matthias.Pfisterer at web.de>
Reuchlinstrasse 28	phone ++49-711-62 87 12
D-70176 Stuttgart	(in Deutschland 0711-62 87 12)
GERMANY

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/

Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------





More information about the kaffe mailing list