News for hackers. Stuff that matters.
Re:Command Line Interface for Signal by dheera on Tuesday June 29, 2021 @11:44PM (#27684628)
> at least Java Runtime Environment (JRE) 11

Yeah I stopped right there. I've had enough of one app wanting IBM Java, another wanting Oracle Java, another wanting Sun Java, another wanting 32-bit Java, another wanting 64-bit Java, another wanting Java 8, another wanting Java 11, ...

I really wish this were written in literally any other language, ideally one whose compiler can be apt-gotten on a default Ubuntu install.

Re:Command Line Interface for Signal by some-username on Wednesday June 30, 2021 @09:15AM (#27688083)
You might want to have a look at presage - an implementation in rust: https://github.com/whisperfish/presage
Re:Command Line Interface for Signal by bbernhard90 on Wednesday June 30, 2021 @02:18AM (#27685514)
You could use a docker container. e.g https://github.com/bbernhard/signal-cli-rest-api

(I am the author of REST API wrapper)

But I agree with you on that...Java isn't my preferred language either.

Re:Command Line Interface for Signal by Arnt on Wednesday June 30, 2021 @03:20AM (#27685861)
Fascinating. I know how to write an app that requires java 8 (just use lambdas) or 11 (just use newish TLS), but wow does one even write an app that needs 32-bit or 64-bit java? Or that works with Sun java but not with others?
Re:Command Line Interface for Signal by Hackbraten on Wednesday June 30, 2021 @03:35AM (#27685968)
Some apps rely on optional JRE features or even private APIs.

Newer Java versions have started blocking private API usage. You can override the block but hopefully, it helps developers become aware of what they’re doing.

Re:Command Line Interface for Signal by monocasa on Wednesday June 30, 2021 @03:32AM (#27685946)
JNI libraries.
Re:Command Line Interface for Signal by Arnt on Wednesday June 30, 2021 @08:13AM (#27687527)
Good point.
Re:Command Line Interface for Signal by Symbiote on Wednesday June 30, 2021 @08:04AM (#27687475)

  apt install openjdk-11-jdk