I had a hard time writing the title to this question, but here is my situation and what I am asking:
I guess the root of my question is: Are .class files needed after the application is loaded and running? Is the classes just stored in memory, and I don't need the files on the file system anymore? Or does it still access/read things on the filesystem?
Any insight or better understanding of what java needs for a running application is appreciated.
Classes are loaded on demand. The classloader won't attempt to load a class until that class has been referenced. Therefore, removing class files from the classpath in the middle of a run would almost certainly cause failures.
If you don't compile the .java files you're getting from Git to the same location while the test is running, you won't have a problem with the .class files - no matter how the IDE loads the classes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With