I work on a statistical project written on Java. But I have a piece of legacy code written on Wolfram Language.

Is there any way to convert this code to Java code? Or how can I use Wolfram Language in my Java project?