diff --git a/Makefile b/Makefile
index 8d9fc30ec02fbd9afafe6e5ac9017678235c0555..300e4db284195cf55d46092887a5765d256e84f5 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ TEST = runtest
 LIB = $(JDIR)/libscheduling.so
 EXPE = $(SCDIR)/expe
 
-JAVA_HOME = /usr/lib/jvm/java-11-openjdk-amd64
+JAVA_HOME = /usr/lib/jvm/java-17-openjdk-amd64
 JINCLUDES = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
 
 _DEP = util.h list.h tree.h instance.h schedule.h algo.h
@@ -74,4 +74,4 @@ $(EXPE) : $(OBJ) $(ODIR)/expe.o
 	$(CC) -o $@ $^ -lm
 
 $(LIB) : $(OBJ) $(ODIR)/application_Scheduling.o
-	$(CC) -shared -o $@ $^ -lm
\ No newline at end of file
+	$(CC) -shared -o $@ $^ -lm
diff --git a/src/application_Scheduling.c b/src/application_Scheduling.c
new file mode 100644
index 0000000000000000000000000000000000000000..43f1e5b7b9258cc24a95b7c15ac8c448766600e0
--- /dev/null
+++ b/src/application_Scheduling.c
@@ -0,0 +1,4 @@
+#include <jni.h>
+#include "schedule.h"
+
+