Is TeamSQL written in Java?

No!

We are using Electron and everything is mostly written in HTML, Node.js and TypeScript under the hood.