Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
Solution depends upon the way you read the file.
i) If you are using Java IO package, please
make sure that File exists in given file Path
and also
share the Folder (if that is on a remote system) in which you have
the file
and make sure that is accessible to JVM.
ii) If you are trying to read a File as
Resource, please follow the following two steps.
a) Add the file (Folder which contains the Folder) to the class path.
b) Use getClassLoader to
load this class as shown below.
getClass().getClassLoader().getResource("Configuration.properties").getFile();
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.