B4J Question Raspberry Pi Gen1 Model B

barx

Well-Known Member
Licensed User
Longtime User
Hi
I have an old raspberry pi Gen1. Never really used it much, but trying to make use of it now in a project for my house. Currently running an MQTT broker on it. I also want to store the MQTT messages in a database (probably a local SQLite) and create web server API functionality to serve historic data from DB in JSON format and maybe serve web pages to graph the historic data. I was going to try do this in Python as I thought Java would give too much overhead for the old unit, but from reading a few article, Java appears to actually run faster.

My questions are:
  • Would Java (non-ui) run ok on my old Pi?
  • Would it be faster than a python script?
  • Which version of Java to install. I see a couple of tutorials for installing Java on Pis, not sure which would be best.
Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…