I have Java JDK 1.7.0_07 installed and I made sure that the Java build path in Eclipse is pointing to the right directory in my system. How come my machine complains of not having the 'File' object available? I have made sure i imported java.io.*. What could be wrong?
Just make sure the JRE System Library is part of your build path (see the picture below). Check that the System library is set and if not, click on Add library and select JRE System Library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With