Can You Use Java for AI? Why Java Is Better Positioned Than You Think
Can you use Java for AI? Yes. For building real AI applications it might be the better choice. Why the JVM, Spring AI, and your existing team are enough.
$ whoami
Spring Developer Advocate @ Broadcom
Hello ππ» My name is Dan Vega, Java Champion, Spring Developer Advocate, Husband and #GirlDad based outside of Cleveland OH. I created this website as a place to document my journey as I learn new things and share them with you. I have a real passion for teaching and I hope that one of blog posts, videos or courses helps you solve a problem or learn something new.
public record Developer(
String name, // Dan Vega
String role, // Spring Dev Advocate
int yearsExperience // 25 and counting
) {}
var dan = new Developer(
"Dan Vega",
"Java Champion",
25
);
System.out.println("Let's build something π");$ ls ~/blog --latest
Can you use Java for AI? Yes. For building real AI applications it might be the better choice. Why the JVM, Spring AI, and your existing team are enough.
Spring Boot 3.5 reached end of life in June 2026 and every 3.x branch is now unsupported. What that means, and how to plan your Spring Boot 4 upgrade.
Port 8080 already in use? Learn how to find and kill the process running on a port on Windows, macOS, and Linuxβwith copy-paste commands for each.
$ subscribe --list weeklyish
Java, Spring, and what I'm learning β one email, weekly(ish). Unsubscribe anytime.