Errors faced during building of java applications
Errors :
1.String cannot be resolved to a type
Why this error occurs : when your required JRE is missing (for the current Java version)
How to add JRE in your projects
1. right click on projects ->properties->Libraries->ClassPath->add external Jar ->path of your jre here(eg. C:\Program Files\Java\jre1.8.0_281\lib)
link:
https://stackoverflow.com/questions/7651768/string-cannot-be-resolved-to-a-type-java-rad
Comments
Post a Comment