Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedded systems #60

Closed
shoe-private opened this issue Nov 27, 2014 · 1 comment
Closed

embedded systems #60

shoe-private opened this issue Nov 27, 2014 · 1 comment

Comments

@shoe-private
Copy link

I wonder, what exactly are the minimal requirements to a java runtime for executing your openHAB2 framework. I've tried (naively) to run it with ejre(oracle), which was configured with a compact1 profile. Obviously it has failed, due to missing dependencies (SAX-Parser). I doubt the adventure to modularize a monolithic solution like java, myself.

I try to figure out, whether a hardware platform arm/sflt 400MHz 64MB of RAM and <50MB flash would be suitable for it? Besides, this platform bundles a lot of wireless modules, that's why it became interesting for us.

So I expect the minimal hardware requirements would be widely above the 64MB of RAM or Flash, especially when I look forward into productive environment beyond a minimal solution as presently available. And there is no chance to reduce those requirements, or am I to doubtful?

@kaikreuzer
Copy link
Member

Hi Soeren,

At the moment, JavaSE 7/8 is a pre-requisite. My goal is to have Java8 compact profile 2 as a minimal requirement in the end (for the minimal runtime without DSL-support) - you can read a bit about this at http://www.oraclejavamagazine-digital.com/javamagazine_Twitter/20141112Twitter#pg49.
Nonetheless, I doubt that a system with the specs that you mention will be capable of running it. If it is running fast and smooth on a RaspPi, I would already be happy - see #38.
Note that if you are thinking about a commercial solution, you should anyhow rather build your own solution based on Eclipse SmartHome - i.e. you can choose a more lightweight OSGi container (openHAB's Equinox is not really made for embedded use) and also a leaner HTTP server than Jetty. This could already help you reducing the footprint as well (but you might have to go for commercial implementations of them).

Flole998 pushed a commit to Flole998/openhab-addons that referenced this issue Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants