News for hackers. Stuff that matters.
Re:Jsc: My New Best Friend by desktopninja on Wednesday August 25, 2021 @10:42PM (#28309999)
Neat. Also if you've got java installed, there's

  jrunscript
  jjs
Both invoke the nashorn javascript engine.
Re:Jsc: My New Best Friend by pjmlp on Thursday August 26, 2021 @12:09AM (#28310600)
That has been dropped in Java 10 and Java 17 is getting released next month, thus only works in what I consider legacy runtimes.

https://openjdk.java.net/jeps/372

Re:Jsc: My New Best Friend by scns on Thursday August 26, 2021 @05:20AM (#28312481)
Well, then it is still on many production systems that still run on Java 8.
Re:Jsc: My New Best Friend by pjmlp on Thursday August 26, 2021 @05:41AM (#28312616)
Yeah, Java's version of Windows XP and Python 2, time to move on.
Re:Jsc: My New Best Friend by justin_oaks on Thursday August 26, 2021 @10:11AM (#28315209)
Not quite. While Java 10 is end-of-life because it isn't an LTS version, Java 8 still is actively supported.
Re:Jsc: My New Best Friend by pjmlp on Thursday August 26, 2021 @12:33PM (#28317135)
Kind of, depends how much one is willing to pay for support.

https://www.oracle.com/java/technologies/java-se-support-roa...

Shops that care about LTS should be on 11 instead of clinging their teeth on 8.