diff --git a/build.gradle b/build.gradle
index eb60281f0c0be5ab4764750635891b54204b05b0..d2b6e8f4a9b7b23e9c19438800b03619c44bc8ee 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,9 +6,6 @@ plugins {
     id 'java'
 }
 
-//sourceCompatibility = 11
-//targetCompatibility = 11
-
 repositories {
     mavenCentral()
     maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
@@ -30,7 +27,4 @@ subprojects {
     }
     
     apply plugin: 'java'
-    
-    //sourceCompatibility = 11
-    //targetCompatibility = 11
 }
diff --git a/frameworks/Kieker-java/benchmark.sh b/frameworks/Kieker-java/benchmark.sh
index b2da6be9b6448030b5f4d23a82792e233e269f0b..0236f1652148ff4df585caf9e2191e65e81061e8 100755
--- a/frameworks/Kieker-java/benchmark.sh
+++ b/frameworks/Kieker-java/benchmark.sh
@@ -9,6 +9,10 @@
 BASE_DIR=$(cd "$(dirname "$0")"; pwd)
 MAIN_DIR="${BASE_DIR}/../.."
 
+# Hotfix for ASPECTJ
+# https://stackoverflow.com/questions/70411097/instrument-java-17-with-aspectj
+export JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"
+
 #
 # source functionality
 #