This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I don't know how ill-advised it is but if I want to temporarily update an origina Java class such as Container: shouldn't I be able to make the change to the version in src.jar and then implant the class version into rt.jar? I did this, and my change is being ignored. Any help please? Paul
Create and compile the class you want to replace. Then add it to the boot classpath using java -Xbootclasspath/p:<path to new class>. This command will prepend your class to the boot classpath and will override Sun's implementation without requiring you to muck around with rt.jar which could eventually screw up other working Java stuff you have. [This message has been edited by Iain Lowe (edited October 03, 2001).] [This message has been edited by Iain Lowe (edited October 03, 2001).]