Use Java 8

Change-Id: I4c5b416f4c59efa36daafc8e104ae42a51b7515d
diff --git a/tools/eclipse.py b/tools/eclipse.py
index ca7899d..6cc0f89 100755
--- a/tools/eclipse.py
+++ b/tools/eclipse.py
@@ -27,7 +27,7 @@
 JRE = '/'.join([
   'org.eclipse.jdt.launching.JRE_CONTAINER',
   'org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType',
-  'JavaSE-1.7',
+  'JavaSE-1.8',
 ])
 
 ROOT = path.abspath(__file__)
diff --git a/tools/gen_sonar_project_properties.py b/tools/gen_sonar_project_properties.py
index 832b7f1..12e2be5 100755
--- a/tools/gen_sonar_project_properties.py
+++ b/tools/gen_sonar_project_properties.py
@@ -69,7 +69,7 @@
 sonar.sources=%s
 sonar.tests=%s
 sonar.sourceEncoding=UTF-8
-sonar.java.source=1.7
+sonar.java.source=1.8
 sonar.java.binaries=%s
 
 sonar.junit.reportsPath=%s