have to delete *.class files before can recompile
Hello,
I am very new to Java and so have probably missed something really obvious, but I have to delete all .class files before I can recompile my program. If I don't delete the class files, changes i make in the source will not take effect.
Does anyone have any ideas?
Thanks,
Chuck
Sounds like maybe you have a dependency caching system that isn't functioning correctly, maybe?In general, javac should recompile, even if the .class file already exists.- Adam
Hi,
Well, I do have a series of dependent classes, ie
class1 composed of class2 composed of class3 composed of class4
one of the classes has an array size over 4 million, but there is only one instance of it in the entire program.
I am may change the class structure in the future but for the time being, can i force javac to compile?
chuck