Go to Window–>Preferences–>Java–>Compiler–>Error/Warnings.
Select Deprecated and Restricted API. Change it to warning.
Change forbidden and Discouraged Reference and change it to warning. (or as your need.)
More Related Contents:
- Scanner and validating answers like a dictionary in Java
- How to use an existing database with an Android application [duplicate]
- Eclipse can’t find XML related classes after switching build path to JDK 10
- Android Eclipse – Could not find *.apk
- Building executable jar with maven?
- How do I add a Maven dependency in Eclipse?
- A Java API to generate Java source files [closed]
- Eclipse command line arguments
- Eclipse – java.lang.ClassNotFoundException
- “SetPropertiesRule” warning message when starting Tomcat from Eclipse [duplicate]
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
- Eclipse comment/uncomment shortcut?
- How do you convert WSDLs to Java classes using Eclipse?
- Eclipse: JVM terminated. Exit code=2
- Where to put a textfile I want to use in eclipse?
- How to package resources in Jar properly
- Eclipse error … cannot be resolved to a type
- How to write a plugin for Eclipse? [closed]
- Importing JSON into an Eclipse project
- Eclipse Java; export jar, include referenced libraries, without fatjar
- error: unable to load installed packages just now
- How to get shutdown hook to execute on a process launched from Eclipse
- Java Decompiler [closed]
- problems with java3D lib configuration
- How does Eclipse actually run Junit tests?
- VariableDeclarationFragment node resolveBindind() returns null in eclipse/jdt/ast
- PKIX path building failed in Eclipse
- Including external jar-files in a new jar-file build with Ant
- How to insert a document with date in mongo?
- Eclipse classpath entries only used for tests