Live data from Hacker News

2026: The Year of Java in the Terminal?

xam.dk

1–10 of 191 posts

Re: 2026: The Year of Java in the Terminal?

#7
Java startup time shouldn't really be an issue with a terminal program. I have written some pretty complex Java and Rust and C++ terminal programs, they are basically indistinguishable on run time. The reason Java starts up slow for most people is that they are running webapps with Spring and 50 dependencies and loading Tomcat, not because they are just booting a JVM and running through some functions.

Getting AoT compiled Java programs has been a life saver. Running java -jar main.java -foo -bar is very annoying and not friendly. It needs to be packaged so you can just run tool -foo -bar

Re: 2026: The Year of Java in the Terminal?

#9

Very clearly written by AI. Java in the terminal sounds awful. Programming Java is awful. No thank you.

When did you last program Java? It’s changed a lot from the Java 8 days.

I am not in the ecosystem anymore but it did a lot of things right.

Re: 2026: The Year of Java in the Terminal?

#10
Agree, Java also had straight single file execution forever now. Java foo.java. I use it instead of scripts all the time. Solid language with a lot of flexibility, Oracle has done a good job in last few years. Newer Java frameworks are fairly easy and light to use. We have natively image Lambda functions in production. Work well.
Post reply on HN