Hi,
I have an application that runs in Java that integrates with HomeAssistant using MQTT, does anyone have any idea how to install java oracle in Hass.IO?
Thank you
Hi,
I have an application that runs in Java that integrates with HomeAssistant using MQTT, does anyone have any idea how to install java oracle in Hass.IO?
Thank you
You can use the HA Bridge add-on that I created as an example.
https://github.com/notoriousbdg/hassio-addons/tree/master/ha-bridge
Oracles licensing policies make it pretty hard to install Java. There are instructions here:
https://wiki.debian.org/JavaPackage
Would openjdk work for you application, as it is in the repositories.
if I understood correctly Hassio is not based on Debian, it is based on ResinOS, there is no apt-get. I tried to download the version (jdk-8u144-linux-arm32-vfp-hflt.tar.gz), unpack and run, but I did not succeed.
ResinOS is based on Docker. You’ll have to create an addon for your app, which is what https://home-assistant.io/developers/hassio/addon_development/ shows you how to do. The link I replied with above shows how you can make a hass.io addon that uses the Oracle version of Java.
Thank you, now I understood
So, anyone tried to create a plugin that can run java applications?
I actually need a tomcat or any server that can run war or jar files. A plugin which does this would be awesome, but can’t find anything like that.
You can create an add-on using docker
Have you ever been succesfull in running a java jar on HA?
i want to run a java code, is it possible?
How can I add openjdk addon to homeassistant supervised ?
Kindly guide