I've recently started developing in Java (coming from .Net). The IDE I am using is RAD 7.3.
After importing a project, which I need to do some enhancements on, I am receiving this error:
"String cannot be resolved to a type"
This applies to all variables of the String data type, as well as any methods that take string arguements. I'm very inexperienced with Java so I'm not sure how to go about fixing this. My guess is that it has something to do with the way RAD was installed, and that required libraries are missing. Again, not sure how to address that.
Any help or guidance would be much appreciated! Thank you
My guess is you miss the JRE Runtime Library in your project. But this would cause all the java.* classes to generate this message! Can you post your code so we can see what might be the problem?
try doing :
right-click on your project. ->properites ->java Build Path ->tab Librairies
check if the JRE System Library is there.