|getResourceAsStream [message #1229786]
||Fri, 10 January 2014 03:07
| Jayaprakash K
Registered: January 2014
I am using eclipse-indigo.|
I download a file from internet then use that in eclipse by copying that file to my working place then create a new java project with that same name. In that program there is a line to read a file by using
but it throws a NullPointerException.
Then, I create a new java project in eclipse and check that reading this file as a small program,that executes successfully. The files are within the same package in both cases.
Please guide me the above, and also I am looking for advice on how to link a file in eclipse indigo.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.40351 seconds