This package (and I suspect several others) has an issue with jre-openjdk 19
If you are unable to start i2prouter service and the output of:
systemctl status i2prouter.service
mentions not being able to access /run/i2p/i2p.pid (yet?)
Check /opt/i2p/wrapper.log and you'll probably see:
The configured wrapper.java.command could not be found, attempting to launch anyway: /usr/lib/jvm/default/bin/java
Unable to start JVM: No such file or directory (2)
jre-openjdk 19 seems to be missing /usr/bin/java I'm not sure if this is by design or accident. And it seems that /usr/lib/jvm/default/bin/java also may not exist as wrapper tried that too.
Dropping back to jre-openjdk 17 fixed the issue.
If you were trying to build i2p 2.0.0. by updating the pkgver line (as I was).
I'd suggest setting all the >=17 lines to =17.
That worked for me.
Pinned Comments
Salama commented on 2023-04-01 09:18 (UTC)
You can download the key from https://geti2p.net/_static/idk.key.asc and
gpg --import