diff --git a/hadoop-common-project/hadoop-annotations/pom.xml b/hadoop-common-project/hadoop-annotations/pom.xml
index c3e1aa1..9042f73 100644
--- a/hadoop-common-project/hadoop-annotations/pom.xml
+++ b/hadoop-common-project/hadoop-annotations/pom.xml
@@ -46,11 +46,8 @@
- jdk.tools
- jdk.tools
- 1.7
- system
- ${java.home}/../lib/tools.jar
+ com.sun
+ tools
@@ -61,11 +58,8 @@
- jdk.tools
- jdk.tools
- 1.8
- system
- ${java.home}/../lib/tools.jar
+ com.sun
+ tools