java/eclipse: Fix build on aarch64
PR: 283885 (cherry picked from commit 026ec9249838c09df0c077d7e901e46a61699100)