Thank you all for the kind questions ans answers. I joined the forum to inform my fix.
 Go to Project->properties->Java Compiler
Select 1.6 but this is not enough. Momentrarily when I saw to the link to installed JREs, I changed to jrockit_160_17_R28.0.0-679 as below.
When you can't see the link to JREs change. Simply do the following.
 Go to windows->preferences->java->installed JREs
Selected C:\Oracle\Middleware\jrockit_160_17_R28.0.0-679 (instead of C:\Program Files\Java\jre1.6.0_07, though not sure)
 Go to Project->properties->resource
UTF-8 for Text file encoding (maybe not critical)
Windows for New text file inline delimiter (maybe not critical)
Good day every day.