Then later running it in a similar way, from the installed directory:
java -jar irpf.jar
The .bin file they distribute doesn't work, but hasn't worked for me in quite a while, regardless of the jdk version. Looks like it tries to parse the output out "java -version" and fails, and/or looks for java somewhere else in the disk and can't find it.
FWIW, I tried the Brazilian income tax program, which is written in java, and both the installation and running of it worked with jdk 11.
Specifically: downloadirpf. receita. fazenda. gov.br/ irpf/2019/ irpf/arquivos/ IRPF2019v1. 1.jar
http://
Installing it:
java -jar IRPF2019v1.1.jar
Then later running it in a similar way, from the installed directory:
java -jar irpf.jar
The .bin file they distribute doesn't work, but hasn't worked for me in quite a while, regardless of the jdk version. Looks like it tries to parse the output out "java -version" and fails, and/or looks for java somewhere else in the disk and can't find it.