Peter
09/27/2024, 11:03 AMjava --version
-> OK; groovy --version
-> OK; kotlin --version
-> KO ; why is this not aligned w/ the rest of the JVM ecosystem?Vampire
09/27/2024, 11:52 AMJoffrey
09/27/2024, 11:55 AMjava
/ javac
commands. The Java commands added support for --version
starting from version 9 IIRC. Kotlin just didn't follow yet (doesn't mean they won't ever)Joffrey
09/27/2024, 11:58 AMjava --version
prints to stdout while java -version
prints to stderr mind blownVampire
09/27/2024, 12:00 PMKlitos Kyriacou
09/27/2024, 12:02 PMjava
command line options are a bit messy: some require --
while others require a single -
. Some allow both and mean the same, some allow both and mean subtly different things.Vampire
09/27/2024, 12:13 PMPeter
09/27/2024, 12:27 PM--
(I know this is opinionated, but hey, c'mon)Vampire
09/27/2024, 12:28 PMPeter
09/27/2024, 12:31 PMMărcuţ Andrei
09/28/2024, 7:47 PMPeter
09/30/2024, 1:41 PM