diff --git a/nb-configuration.xml b/nb-configuration.xml
index ab41da819..0e29529e1 100644
--- a/nb-configuration.xml
+++ b/nb-configuration.xml
@@ -19,5 +19,6 @@
LF
false
true
+ JDK_1.8
diff --git a/pom.xml b/pom.xml
index f76d95665..18dcfb2fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,8 +87,8 @@
maven-compiler-plugin
3.7.0
- 11
- 11
+ 1.8
+ 1.8
true
${project.build.sourceEncoding}