I have a some simple Java code that looks similar to this in its structure:
abstract public class BaseClass {
String someString;
public BaseClass(Str
You could also get this error when JRE is not set. If so, try adding JRE System Library to your project.
Under Eclipse IDE: