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

Replace Oracle Java by zulu embedded #92

Closed
wants to merge 3 commits into from
Closed

Conversation

ThomDietrich
Copy link
Member

This was easier than expected. Worked right away and removed a painful extra step we had to take with Oracle Java till now. Oracle Java ist still available as a menu option for now. (Testing and i386)

Signed-off-by: Thomas Dietrich thomas.dietrich@tu-ilmenau.de (github: ThomDietrich)

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
@kaikreuzer
Copy link
Member

FYI, I just came across an issue: openhab/openhab-distro#421
It seems that others have already solved this problem, but for me (testing on my PINE64 image), that didn't work out yet.
Before merging this PR, could you test it yourself as well? And maybe you have an idea what to do about it?

@ThomDietrich
Copy link
Member Author

ThomDietrich commented Feb 10, 2017

And maybe you have an idea what to do about it?

Not use the chart servlet. 😃 Yes I'll look into that but if this is chart servlet implementation related, I might not be of much help.
The only testing I did so far was to have openHAB correctly start up and doing a CPU usage comparison (it's equal to Oracle Java).

@kaikreuzer
Copy link
Member

it's equal to Oracle Java

That's good news (and matches my experience, although I had never done precise comparisons).

@AngelosF
Copy link
Member

I will test on my rPi3 also the charts. So far, I don't use them.
I just installed Zulu Embedded on Raspbian Jessie and it works fine (so far).
After I installed it, I wrote a mini-HowTo (here)

@ThomDietrich
Copy link
Member Author

Howto looks great! Nothing to criticize after my experiments from yesterday

@ThomDietrich
Copy link
Member Author

ThomDietrich commented Feb 11, 2017

@kaikreuzer

sudo apt install libfontconfig1 fontconfig ttf-dejavu
...
The following NEW packages will be installed:
  fontconfig fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra libfontconfig1 libfreetype6 libpng12-0 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
sitemap test label="My home automation" {
    Text label="Test"
    Frame {
        Chart item=Demo_KitchenTemperature label="Test" period=h refresh=600
    }
}

grafik

@kaikreuzer
Copy link
Member

Thanks for testing @ThomDietrich, that's good news. (You might want to check, what is the minimal requirement, some people said libfontconfig1 should be enough already).

My problem remains, though, so I guess something is different on the PINE64... If openHABian on the PINE64 does not have this problem either, I'll move asap :-)

@ThomDietrich
Copy link
Member Author

ThomDietrich commented Feb 11, 2017

I'll look into reducing the needed packages and adding them during openHABian setup and test the whole thing on the pine. After that's done, do I have your lgtm?

@ThomDietrich ThomDietrich mentioned this pull request Feb 11, 2017
@kaikreuzer
Copy link
Member

do I have your lgtm?

Certainly yes!

@AngelosF
Copy link
Member

fyi: Charts work after sudo apt install libfontconfig1 fontconfig ttf-dejavu
https://community.openhab.org/t/howto-install-zulu-embedded-java-on-raspberry-pi-3/22589/11

@ThomDietrich
Copy link
Member Author

Included in #97

@ThomDietrich ThomDietrich deleted the zulu-embedded branch February 17, 2017 21:42
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

Successfully merging this pull request may close these issues.

3 participants