I've installed latest version of Java Eclipse and JDK under Debian 9.0. When I create a JFrame, some errors occur, for example:
Access restriction: The constructor EmptyBorder(int, int, int, int) is not accessible due to restriction on required library /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar
Any ideas on how to fix the problem?