hi have tried executing a .jar file using java -jar jarfilename.jar
but it just returns:
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP
and it returns the same thing if I use the command java version
,java -version
orjava --version
Any reason why it doesn't work? (I have a Raspberry Pi Model B Rev 2)
java --version
into your question. The "server vm" is I believe a bit of a different beast than the normal one (which is the "client" version), dunno if that is the reason. – goldilocks Jul 07 '19 at 18:14cat /etc/issue
should give something likeRaspbian GNU/Linux 10 \n \l
. If it's a previous version, you should just replace what's on the card with plain Raspbian. I dunno why they still recommend NOOBS, it seems to cause more trouble for people than anything else. – goldilocks Jul 08 '19 at 16:21java -version
returns the same message implies it's the JRE in general. Checkwhich java
. Although I think not many people are still using the original B's, the Zeros have the same processor and it so the OS still has to be ARMv6 compatible. – goldilocks Jul 08 '19 at 16:25which java
just gives me/usr/bin/java
– alec Jul 08 '19 at 21:35