Using Eclipse to build javafx using JDK8 for the first time encountered a compilation error:
Access restriction: The type ‘Application’ is not API (restriction on required library ‘E:\JAVA\jdk1.8\jre\lib\ext\jfxrt.jar’)
Solution: Right-click the project name–>Build Path–>Confgure Build Path–>Select jre system library–>remove–>Add library to add the system jre library from the new
Similar Posts:
- [Solved] Eclipse Error: Access restriction: The type ‘BASE64Decoder’ is not API
- Steps of MyEclipse / eclipse importing sun.misc.base64encoder jar package
- The solution of base64decoder prompt error under eclipse
- [Solved] Access restriction: The type ‘JPEGCodec’ is not API (restriction on required library …
- [Solved] Eclipse project red exclamation mark: build path problem
- android library projects cannot be launched
- The solution of the import javax.servlet cannot be resolved in Java
- About eclipse new web project, prompt: “the superclass” javax. Servlet. Http. Httpservlet “was not found on the Java” solution
- Solve the error reported by eclipse project: unbound classpath container
- How to handle the eclipse error message the declared package does not match the expected package