Giter Site home page Giter Site logo

Comments (5)

kaikreuzer avatar kaikreuzer commented on May 23, 2024

Hi @dvanherbergen, As you are back on the project right now, maybe I can ask you for another favor? :-) Do you happen to remember the details on why Karaf required a full JDK instead of the JRE? Is there any way to address this (e.g. by requesting some fix on the Karaf side)?

from openhab-distro.

dvanherbergen avatar dvanherbergen commented on May 23, 2024

It doesn't look like this is still is an issue on Windows.

On Windows 10, with the 64-bit versions of JRE 7 and 8, openHAB starts without issues.

With the 32-bit versions of JRE 7 & 8, I had to manually set JAVA_HOME. After that, openHAB starts correctly, but does display a warning. The warning was introduced as the result of this issue https://issues.apache.org/jira/browse/KARAF-1695, but can be safely ignored.

Launching the openHAB runtime... 
WARNING: Running Karaf on a Java HotSpot Client VM because server-mode is not available. 
Install Java Developer Kit to fix this. 
For more details see http://java.sun.com/products/hotspot/whitepaper.html#client 

                          __  _____    ____ 
  ____  ____  ___  ____  / / / /   |  / __ ) 
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  | 
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / 
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/ 
    /_/                        2.0.0-SNAPSHOT 
                               Build #500 

from openhab-distro.

kaikreuzer avatar kaikreuzer commented on May 23, 2024

Hm, ok, interesting. I will have to test this again on a Raspberry Pi as well, but it appears it was only a problem on WIndows indeed. After a successful test on ARM, we can hence close this issue.

from openhab-distro.

thopiekar avatar thopiekar commented on May 23, 2024

Don't know whether it is relevant or not, but openHAB2 is working here on my QNAP NAS with JRE for a long time without any problems.
If OH2 wasn't working for sure in the past, then the AppCenter of my NAS is lying that only JRE (without JDK) is in their package.

from openhab-distro.

kaikreuzer avatar kaikreuzer commented on May 23, 2024

ok, thanks. Seems as if we can safely close this issue.

from openhab-distro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.