|
Java
has a strange policy of using the classes. When compiling, it uses rt.jar from
the jdk, but when running with java, it uses rt.jar from the jre. So you need to
change both of them.
Cheers,
Florin
Hi Florin,
It is nive to know that some people are here to help you. I
do not do it yet i do not fell good enough.
So i replace the .JAVA in SRC directoriy and all the .CLASS
in rt (in JDK 1.4 only) I thought about changing it in the JRE but i have not
done it yet.
I try right now and let you know
thanks
Are you using -Xbootclasspath/p: to set the classpath to
your modified code, or have you replaced the class in rt.jar ? If you
replaced it, then I hope that you have done it in both rt.jar files, in the
sdk and in jre.
Cheers,
Florin
P.S. Why do you need to change a class from the jdk distribution
?
Hi,
I got one question. I tryt to modified some java source
from the JDK 1.4 i could modified the code recompile but when i debug the
change are not taken into account but i can see that the code is still
changed.
thanks
|