diff --git a/demo/jline-gogo.sh b/demo/jline-gogo.sh
index c6c8325b1..7ba3ca9a8 100755
--- a/demo/jline-gogo.sh
+++ b/demo/jline-gogo.sh
@@ -102,7 +102,6 @@ echo "Launching Gogo JLine..."
echo "Classpath: $cp"
set mouse=a
java -cp $cp \
- --enable-preview \
$opts \
-Dgosh.home="${DIRNAME}" \
-Djava.util.logging.config.file="${logconf}" \
diff --git a/pom.xml b/pom.xml
index 1d06f9752..1b73adc9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,7 +95,7 @@
2023-10-25T15:49:27Z
21
- 1.8
+ 8
3.5.0
true
@@ -417,7 +417,7 @@
3.11.0
true
- ${java.target.version}
+ ${java.target.version}
-Xlint:all,-options,-processing
-Werror