37 ++++++++++++++++++++++++++++++++++---
2 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/java/jasmin/Makefile b/java/jasmin/Makefile
index 3bc0d01307b6..ab9e4b38cbd8 100644
--- a/java/jasmin/Makefile
+++ b/java/jasmin/Makefile
@@ -11,7 +11,6 @@ WWW= https://jasmin.sourceforge.net/
USES= dos2unix java:ant,run zip
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)
-JAVA_VERSION= 8
ALL_TARGET= jasmin
diff --git a/java/jasmin/files/patch-build.xml b/java/jasmin/files/patch-build.xml
index f45934f2397f..a95205f6321c 100644
--- a/java/jasmin/files/patch-build.xml
+++ b/java/jasmin/files/patch-build.xml
@@ -1,6 +1,6 @@
---- build.xml.orig Sat Mar 24 15:05:35 2007
-+++ build.xml Sat Mar 24 15:06:33 2007
-@@ -77,7 +77,7 @@
+--- build.xml.orig 2026-04-08 13:05:32 UTC
++++ build.xml
+@@ -77,7 +77,7 @@ -->
@@ -9,3 +9,34 @@
+@@ -161,7 +161,6 @@ -->
+
+
+
+
+
+
+ sourcepath="${src.dir}"
+ destdir="${apidocs.dir}"
+ author="true"
+- additionalparam="-source 1.4"
+ version="true"
+ use="true"
+ splitindex="true"
+@@ -294,4 +291,4 @@ -->
+
+
+
+-
+\ No newline at end of file
++