Revert "Disable java support"
This reverts commit 9ff9f03b. This change was introduced due to merge from v2023 and is not required for v2022.
This reverts commit 9ff9f03b. This change was introduced due to merge from v2023 and is not required for v2022.