Trying to set up a server on a RPi 3, but when I run the serverstart script it errors with:
serverstart.sh : 82: serverstart.sh: ./jre/bin/java: Exec format error
with openjdk version 11.0.9.1
I want to migrate the server out of a VM, as I have clients using remote work and I want to be able to take the host down whenever I need without interrupting their access. I have less than 100 machines connected so the load should be manageable. Any help would be greatly appreciated.
This error typically indicates that the Java runtime in:
./jre
is an x86 or x64 runtime, perhaps because an Intel build of SimpleHelp was used and the OS does not support it. My suggestion would be to do the following from within the SimpleHelp installation location:
After replacing the JRE I get:
Unrecognized VM option “UseMembar”
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Deleted the previous installation and reinstalled via SimpleSetup; installation errored out. When I run the start script I get “serverstart.sh: 82: serverstart.sh: java: not found”
Followed the steps above to install the JRE, run serverstart.sh and I get the same error:
root@raspberrypi:/opt/SimpleHelp# Unrecognized VM option ‘UseMembar’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.