openhabian: Fresh install not working : java: libjli.so (No such file or directory)
Issue information:
Corrupted openhabian (java error) just after a fresh install …
Seems to be a Java Zulu update issue, I had the same issue on my previous install when I upgraded my system from openhabian-config (“02 | Upgrade System” ) … I just restart a fresh install after the error on my working openhabian (was buster). Then I got the exact same error with the fresh install …
Steps :
- Fresh install of openhabian 1.7.1 (32bit) on RPI 4 4Go (64 Gb Micro SD Card)
- Wait full installation & restart (no visible error during install process)
- run : sudo openhabian-config -> 02 - Upgrade System
There was an error or interruption during the execution of: "02 | Upgrade System"
- run : sudo openhab-cli status
A systemd service configuration exists...
Use 'sudo /bin/systemctl status openhab.service' to find the status of an openHAB service
openHAB is not running.
- run : sudo openhab-cli start
Use 'sudo /bin/systemctl start openhab.service' to start an openHAB service
Launching an instance in this terminal..
Launching the openHAB runtime...
/usr/share/openhab/runtime/bin/karaf: 247: [: Illegal number:
/usr/share/openhab/runtime/bin/karaf: 247: [: Illegal number:
/usr/share/openhab/runtime/bin/karaf: 97: [: Illegal number:
/usr/share/openhab/runtime/bin/karaf: 300: [: Illegal number:
/usr/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
System information:
Raspberry Pi 4 4Go - 64 Gb SD card - Openhabian 1.7.1 (32 bit)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 25 (13 by maintainers)
Commits related to this issue
- Add temporary patch to broken Zulu API Related #1652 Signed-off-by: Ethan Dye <mrtops03@gmail.com> — committed to openhab/openhabian by ecdye 2 years ago
Issue found, Azul has broken their API and it is making the Soft Float version be downloaded and as such is causing all new installations to fail. Currently brainstorming an elegant fix.
I just made the executive decision to move forward with the migration to the Debian provided Java install. Try menu option 2 after updating openhabian-config and see if it installs a working Java version now.
@mstormi I went ahead and forwarded
main
toopenHAB3
, not ideal but had to get a fix up.Working on it, sorry I didn’t have a Zulu env available right away I’ve been testing our upcoming switch to Debians included java.