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

openhab2 incorrectly does not depend on java #526

Closed
RREE opened this issue Aug 28, 2017 · 2 comments
Closed

openhab2 incorrectly does not depend on java #526

RREE opened this issue Aug 28, 2017 · 2 comments

Comments

@RREE
Copy link

RREE commented Aug 28, 2017

I could install openhab2 on a raspian (Jessie) system without previous installation of any java runtime.

I created /etc/apt/sources.list.d/openhab2.list with the following contents:
deb https://dl.bintray.com/openhab/apt-repo2 stable main
$ aptitude update
$ aptitude install openhab2
worked without any mention of java.

Only when looking into journalctl I saw the following lines:
Aug 28 21:15:51 z3 start.sh[524]: /usr/share/openhab2/runtime/bin/setenv: line 176: type: java: not found
Aug 28 21:15:51 z3 start.sh[524]: /usr/share/openhab2/runtime/bin/setenv: line 179: die: command not found

@kaikreuzer
Copy link
Member

Could you please report this at https://github.com/openhab/openhab-linuxpkg/issues as this is the repo that deals with Linux packaging? Thanks!

@BClark09
Copy link
Member

BClark09 commented Aug 29, 2017

Please note that for the later versions of openHAB, apt will now recommend Java.

We cannot depend on it via a package manager as there are many different ways of including it. For example, via manual extraction, or by installing either or multiples of Zulu/Oracle/open JDK.

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

3 participants