my project structure is following
projectxyz
src
com.example
abc.java
resources
abc.properties
i want to read the property file from abc.java
. How can i do that using Resource Bundle. I know how to use Resource Bundle.
ResourceBundle bundle =ResourceBundle.getBundle("resources\\ApplicationResources.properties");
But this code did not work.The problem is in the path of property file. How to get the path of the file outside the src folder ??