How to place a file on classpath in Eclipse?
As this documentation says, "For example if you place this jndi.properties file on your classpath" , but how can I place the .properties file on my classpath if I am using Eclipse? One option is to place your properties file in the src/ directory of your project. This will copy it to the "classes" (along with your .class files) at build time. I often do this for web projects. Just to add. If you right-click on an eclipse project and select Properties , select the Java Build Path link on the left. Then select the Source Tab. You'll see a list of all the java source folders. You can even add