I am trying to get the initial OpenHAB install running. I d/l the latest stable release along with the addons (ver 3.2.0).
The machine is running Win7 64bit. It is NOT connected to the Internet but is on a separate LAN. I connect to it via Remote Desktop (through a firewall).
I unzipped the file into C:\OpenHab, then copied in the addon file.
I then tried to run start.bat from a command line. I get a new command window, but no further action. If I open the file manager, then double click on start.bat, I get a new window, plus it continues. Weird…
This is the Java version.
C:\OpenHAB>java -version
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)
start.bat result
Launching the openHAB runtime...
find: '/I': No such file or directory
find: '/N': No such file or directory
find: 'java.exe': No such file or directory
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 3.2.0 - Release Build
Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missin
g requirement [root] osgi.identity; osgi.identity=openhab-runtime-base; type=kar
af.feature; version="[3.2.0,3.2.0]"; filter:="(&(osgi.identity=openhab-runtime-b
ase)(type=karaf.feature)(version>=3.2.0)(version<=3.2.0))" [caused by: Unable to
resolve openhab-runtime-base/3.2.0: missing requirement [openhab-runtime-base/3
.2.0] osgi.identity; osgi.identity=openhab-core-model-sitemap; type=karaf.featur
e [caused by: Unable to resolve openhab-core-model-sitemap/3.2.0: missing requir
ement [openhab-core-model-sitemap/3.2.0] osgi.identity; osgi.identity=org.openha
b.core.model.sitemap; type=osgi.bundle; version="[3.2.0,3.2.0]"; resolution:=man
datory [caused by: Unable to resolve org.openhab.core.model.sitemap/3.2.0: missi
ng requirement [org.openhab.core.model.sitemap/3.2.0] osgi.wiring.package; filte
r:="(&(osgi.wiring.package=org.openhab.core.items.dto)(version>=3.2.0)(!(version
>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.2.0: missing requir
ement [org.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))
"]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toExcept
ion(Candidates.java:1341)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:43
3)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(S
ubsystemResolver.java:257)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.j
ava:399)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProv
ision(FeaturesServiceImpl.java:1069)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda
$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve o
penhab-runtime-base/3.2.0: missing requirement [openhab-runtime-base/3.2.0] osgi
.identity; osgi.identity=openhab-core-model-sitemap; type=karaf.feature [caused
by: Unable to resolve openhab-core-model-sitemap/3.2.0: missing requirement [ope
nhab-core-model-sitemap/3.2.0] osgi.identity; osgi.identity=org.openhab.core.mod
el.sitemap; type=osgi.bundle; version="[3.2.0,3.2.0]"; resolution:=mandatory [ca
used by: Unable to resolve org.openhab.core.model.sitemap/3.2.0: missing require
ment [org.openhab.core.model.sitemap/3.2.0] osgi.wiring.package; filter:="(&(osg
i.wiring.package=org.openhab.core.items.dto)(version>=3.2.0)(!(version>=4.0.0)))
" [caused by: Unable to resolve org.openhab.core/3.2.0: missing requirement [org
.openhab.core/3.2.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toExcept
ion(Candidates.java:1341)
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve o
penhab-core-model-sitemap/3.2.0: missing requirement [openhab-core-model-sitemap
/3.2.0] osgi.identity; osgi.identity=org.openhab.core.model.sitemap; type=osgi.b
undle; version="[3.2.0,3.2.0]"; resolution:=mandatory [caused by: Unable to reso
lve org.openhab.core.model.sitemap/3.2.0: missing requirement [org.openhab.core.
model.sitemap/3.2.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.op
enhab.core.items.dto)(version>=3.2.0)(!(version>=4.0.0)))" [caused by: Unable to
resolve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] os
gi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toExcept
ion(Candidates.java:1341)
... 13 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve o
rg.openhab.core.model.sitemap/3.2.0: missing requirement [org.openhab.core.model
.sitemap/3.2.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab
.core.items.dto)(version>=3.2.0)(!(version>=4.0.0)))" [caused by: Unable to reso
lve org.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee
; filter:="(&(osgi.ee=JavaSE)(version=11))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toExcept
ion(Candidates.java:1341)
... 14 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve o
rg.openhab.core/3.2.0: missing requirement [org.openhab.core/3.2.0] osgi.ee; fil
ter:="(&(osgi.ee=JavaSE)(version=11))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toExcept
ion(Candidates.java:1341)
... 15 more
openhab>
So I do end up with an OpenHAB prompt, however…
The only thing I did out of sequence, is the first time I ran start.bat I got a warning about running regedit. I cancelled the request. I then read into the batch file sequence and saw you were only reading the registry, so I then allowed it to continue. The installation instructions really do need to warn a user that the registry is being touched.
Anyway, any suggestions?