diff --git a/public_dropin_environments/java_codegen/dr_requirements.txt b/public_dropin_environments/java_codegen/dr_requirements.txt
index 061e5b17a..68a41db07 100644
--- a/public_dropin_environments/java_codegen/dr_requirements.txt
+++ b/public_dropin_environments/java_codegen/dr_requirements.txt
@@ -1,3 +1,4 @@
 pandas<=2.0.3
+numpy<2.0.0
 pyarrow>=0.14.1,<=14.0.1
 datarobot-drum==1.10.21