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

for latest version of RaspMatic: java path in rc.d/hm2mqtt incorrect #17

Open
promd opened this issue Jan 1, 2017 · 2 comments
Open

Comments

@promd
Copy link

promd commented Jan 1, 2017

I found the assumed Java path to be non-existing.
Changing it to "/opt/java-azul/bin/java" did fix the issue (local).

@nanosonde
Copy link

I can confirm this for RaspberryMatic-2.27.7.20170316.

In /usr/local/etc/config/rc.d/hm2mqtt I changed the path to

if [ -x "/opt/java/bin/java" ]; then
  JAVA_BIN=/opt/java/bin/java

/opt/java is a symbolic link to /opt/java-azul

@irrisor
Copy link

irrisor commented Oct 28, 2017

I've change it to take the first java in opt, because for the latest version of CCU2 it is different as well:
JAVA_BIN=find /opt -name java|head -n 1

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