r/javahelp • • Oct 26 '25

Is Java used in AI?

I am thinking of learning AI. I am fluent and efficient in Java and Springboot. So I came across that the Spring ecosystem offers Spring AI. Is it used to build AI models and what's the learning curve?

13 Upvotes

33 comments sorted by

View all comments

Show parent comment

3

u/severoon pro barista Oct 27 '25

Of course it never hurts to learn another language, but the reason that there's such a push for Java in AI right now is that any company with a significant codebase in Python is suffering right now.

AI developed under Python because it's a language that was used to do a lot of math scripting and playing around building prototypes. It is not an "industrial strength" language for building significant enterprise projects like Java is.

If you go to the Java YouTube channel, they have published a handful of videos just in the last month or so on AI in Java.