I have following structure in jar
myjar.jar -> com -> MYProgram.class
-> file.txt
The file.txt is inside the myjarar.jar and parallel to com folder..
In MYProgram i am trying to do:
I am getting NullpointerException when i try to read the inputstream..
Where is it going wrong ?