# Can't get server to run on RPi 3

**URL:** <https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720>\
**Category:** Server Administration\
**Created:** [April 1, 2021, 1:26am UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720 "2021-04-01T01:26:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Rowand](https://community.simple-help.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Allen\_Rowand](https://community.simple-help.com/u/Allen_Rowand)\
**Post date:** [April 1, 2021, 1:26am UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/1 "2021-04-01T01:26:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tony](https://community.simple-help.com/user_avatar/community.simple-help.com/tony/32/31_2.png) [@Tony](https://community.simple-help.com/u/Tony)\
**Post date:** [April 1, 2021, 1:49am UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/2 "2021-04-01T01:49:52Z")

</div>

I was given instructions from SimpleHelp support on how to setup my Pi 4 running ubuntu and couldn’t get it to work either.

---

<div class="post-metadata">

**Author:** ![gchristelis](https://community.simple-help.com/user_avatar/community.simple-help.com/gchristelis/32/49_2.png) [@gchristelis](https://community.simple-help.com/u/gchristelis)\
**Post date:** [April 1, 2021, 6:37am UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/3 "2021-04-01T06:37:01Z")

</div>

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:

- Remove the existing Intel JRE:

- Download a new JRE. For 64 bit OS we usually use:

- Extract the JRE:

- Rename the JRE:

You can then remove the `zulu` folder.

---

<div class="post-metadata">

**Author:** ![Allen\_Rowand](https://community.simple-help.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Allen\_Rowand](https://community.simple-help.com/u/Allen_Rowand)\
**Post date:** [April 3, 2021, 10:03pm UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/4 "2021-04-03T22:03:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Allen\_Rowand](https://community.simple-help.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Allen\_Rowand](https://community.simple-help.com/u/Allen_Rowand)\
**Post date:** [April 5, 2021, 5:43pm UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/5 "2021-04-05T17:43:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Allen\_Rowand](https://community.simple-help.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Allen\_Rowand](https://community.simple-help.com/u/Allen_Rowand)\
**Post date:** [April 5, 2021, 9:04pm UTC](https://community.simple-help.com/t/cant-get-server-to-run-on-rpi-3/720/6 "2021-04-05T21:04:20Z")

</div>

Looks like I have it running now:

- Flashed SD card with 64 bit Ubuntu Server image
- Used SimpleSetup to install SimpleHelp Server, still wouldn’t start
- Installed 64 bit Java using instructions above from gchristelis
- Imported configuration from my existing VM

It would be great if this process was improved. Having issues when installing using SimpleSetup is not something I’d expect.
