Before creating the topic
I’m currently working on a IoT greenhouse project. I plan to create a local Blynk Server to which I can connect all my other sensors/actuators to my RPi Zero W. After following the “Quick Local Server Setup on RPi” from this link: https://github.com/blynkkk/blynk-server#blynk-server, I stumbled upon an error from the console window that shows:
“Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP”
This happened only when I try to check the java version using:
$ java -version
and when I try to run the server.
$ sudo apt-get install oracle-java8-jdk
$ java -version
$ wget "https://github.com/blynkkk/blynk-server/releases/download/v0.41.8/server-0.41.8-java8.jar"
$ java -jar server-0.41.8-java8.jar -dataFolder /home/pi/Blynk
Any help would be greatly appreciated. Thanks!
@Justin_Choo you can try to run java with:
java -client flag. If that wouldn’t help - you need to search for the server JVM for ARMv6. Maybe openjdk could work in that case. Not sure as this chip is outdated.
Thanks for your prompt reply. I manage to solve the issue after referring to this thread https://stackoverflow.com/questions/55920389/e-package-oracle-java8-installer-has-no-installation-candidate.
For those having the same issue, my bet is that installing the latest Raspbian version causes the Java version to be incompatible with raspberry Pi’s having the ARM6v or lower architecture. Purging all Java files and reinstalling a compatible java version from Oracle helps.
I encountered the same issue which you have solved by doing the things you have mentioned.
Can you please elaborate some steps of to search for the compatible java version ?
Should i downgrade the Rasbian version ?
Or something else like this ?
For all readers i have solved this problem by simply typing “sudo apt-get update” in “putty” window right after booting my Raspberry Pi Zero W
and then proceed to all commands which have been given on https://github.com/blynkkk/blynk-server as usual
Thanks to all contributors.