ejolson
Posts: 3429
Joined: Tue Mar 18, 2014 11:47 am

VM is only supported on ARMv7+ VFP [solved]

Thu Apr 26, 2018 7:15 am

I downloaded the most recent version of Raspbian 2018-04-18-raspbian-stretch-lite and then tried to installed Mathematica using

# apt-get install wolfram-engine

I received the error messages

Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP

Which appear to be coming from attempts to configure ca-certificates-java, openjdk-9-jre and openjdk-9-jre-headless on a Pi Zero.

Are new versions of Raspbian and Mathematica compatible with ARMv6 machines?

What should I do to solve this problem?
Last edited by ejolson on Sat Apr 28, 2018 5:58 pm, edited 1 time in total.

User avatar
bensimmo
Posts: 4162
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: VM is only supported on ARMv7+ VFP

Thu Apr 26, 2018 9:37 am

ejolson wrote:
Thu Apr 26, 2018 7:15 am
..
Which appear to be coming from attempts to configure ca-certificates-java, openjdk-9-jre and openjdk-9-jre-headless on a Pi Zero.
..
It may be these three packages and nothing to do with the Zero.

These do not install when trying to install Octave on a Pi3 (well the -8- versions)
viewtopic.php?f=63&t=211166&p=1307164#p1307164
(and above post from there for background)

Of couse it might not be and just a coincidence :-)

ejolson
Posts: 3429
Joined: Tue Mar 18, 2014 11:47 am

Re: VM is only supported on ARMv7+ VFP

Sat Apr 28, 2018 3:04 am

bensimmo wrote:
Thu Apr 26, 2018 9:37 am
It may be these three packages and nothing to do with the Zero.
I found another user reporting the same error. It appears that wolfram-engine automatically pulls in java dependencies and chooses Java 9 by default. Unfortunately, Java 9 is not compatible with ARMv6 so it doesn't work on Pi Zero, Zero W, 1B and 1B+ models. This type of failed install created a circular mess of held packages which I eventually sorted out. The better way is to install the dependencies manually beforehand as follows

# apt-get install openjdk-8-jre-headless openjdk-8-jre
# apt-get install libpcre16-3
# apt-get install wolfram-engine

Then everything works fine.

One more issue that I'll mention here is that Mathematica won't run unless you are a member of the video group. This is true by default for the pi user, but may not be the case for additional users you create. It appears Mathematica needs access to the video hardware to verify that it is licensed to run on the Pi hardware.

Return to “Troubleshooting”