Hi there,
I'm currently working on a codename one project in eclipse that will use file IO for a mock up account and password system, just using a simple text file to start with. My problem is that the project doesn't recognize the following imports: java.io.BufferedReader, java.io.File, java.io.FileReader, java.io.FileWriter and java.io.BufferedWriter. It is happy with import java.io.IOException. (I said this was a problem with the project because I did just a simple java project and imported the same thing and there was no problem)
What is stranger is that I then added the JRE system library to my project, which took away the error markers in the code writing area, however the errors were still showing in the compiler, BUT the program now runs with what I wanted and changes fine despite each time I compile it it says build failed. This would be fine if I wanted to just use it on my computer but I need to build it on the server and it won't send to the server unless it can successfully build.
Why does the project not recognize those imports (that have been in java since 1.1), and why does the project say the build has failed, but actually compiles anyway? And does anyone have an idea on how I might fix this?
Thanks in advance for the help,