MinimServer Forum
Raspberry pi installing problem - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Raspberry pi installing problem (/showthread.php?tid=5404)



Raspberry pi installing problem - remicade - 11-10-2019 15:53

Hi,
As far as I can see I followed all steps (almost) needed to install MinimServer on a RPI B+....
I did not manage to install oracle Java...
While starting MinimServer a fault is shown :
minimserver/bin/startc
Error occured during initialization of VM
Server VM is only supported on ARMv7+ VFP
Is there a workaround for older generations of RPIƛ ?
Thanks Paul


RE: Raspberry pi installing problem - simoncn - 11-10-2019 16:58

This is caused by having the wrong version of Java. What operating system are you running (please give the exact release level) and what did you do about Java installation?


RE: Raspberry pi installing problem - guussie - 15-11-2019 07:46

(11-10-2019 15:53)remicade Wrote:  Hi,
As far as I can see I followed all steps (almost) needed to install MinimServer on a RPI B+....
I did not manage to install oracle Java...

I managed to install Java on a new RPi4 running Debian Buster as follows:

sudo apt-get install default-jre

or

apt-get install default-jdk

Source: https://wiki.debian.org/Java

Maybe this could also be updated in the Installation section.


RE: Raspberry pi installing problem - roadster - 15-11-2019 10:17

The latest version of Raspbian has java pre-installed so updating that could be an alternative.


RE: Raspberry pi installing problem - catsup - 08-12-2020 23:29

Unfortunately, I am having the same problem.

I am trying to install MinimServer 2 on a Rasp 2 running the latest Raspbian OS

$ uname --a
Linux bwtmusic 5.4.72+ #1356 Thu Oct 22 13:56:00 BST 2020 armv6l GNU/Linux

While running the Java installation instructions as outlined on the MinimServer page, I have observed a few error message.

After the OS initial installation and running the Raspbian update process I have run these commands:

$ sudo apt install default-jdk

Checking for the installed java version gives the following error:

$ java -version
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP

So it appears that the installed Java version on this platform doesn't seem to be supported.

This is what has been installed:

$ apt list --installed|grep jdk

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

default-jdk-headless/stable,now 2:1.11-71+b1 armhf [Installiert,automatisch]
default-jdk/stable,now 2:1.11-71+b1 armhf [installiert]
openjdk-11-jdk-headless/stable,now 11.0.9+11-1~deb10u1 armhf [Installiert,automatisch]
openjdk-11-jdk/stable,now 11.0.9+11-1~deb10u1 armhf [Installiert,automatisch]
openjdk-11-jre-headless/stable,now 11.0.9+11-1~deb10u1 armhf [Installiert,automatisch]
openjdk-11-jre/stable,now 11.0.9+11-1~deb10u1 armhf [Installiert,automatisch]

Any idea to get this fixed? Do I have to de-install this version of Java and install a different version? Or install another Java version (e.g. V8) on top?
Please let me know on how to proceed.

Thanks
Catsup


RE: Raspberry pi installing problem - simoncn - 09-12-2020 08:27

The processor in the RPi 2 is ARMv6. In the RPi 3 and 4, it is ARMv7. It looks like the default-jdk package in the latest Raspbian has been built to require ARMv7.

I did a web search for this and found a solution in this post. Follow the link in the post, then scroll down to this download:

11.0.9.1+1 Zulu: 11.43.100 Linux ARM 32-bit HF ARMv6/v7/v8

I haven't tried this myself.