Another easy workaround is using Ubuntu Software Center and install "Extensible Tool Platform and java IDE" instead of "Eclipse". "Extensible Tool Platform and java IDE" will install a working Eclipse. "This package provides the whole Eclipse SDK that contains Eclipse Platform, Java development tools and Plug-in Development Environment, including source and both user and programmer documentation."
Another easy workaround is using Ubuntu Software Center and install "Extensible Tool Platform and java IDE" instead of "Eclipse". "Extensible Tool Platform and java IDE" will install a working Eclipse. "This package provides the whole Eclipse SDK that contains Eclipse Platform, Java development tools and Plug-in Development Environment, including source and both user and programmer documentation."