OpenHAB starting problems related to JAVA

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage Intel i5 4210U/8G/512G
    • OS: what OS is used and which version Windows 10
    • Java Runtime Environment: which java platform is used and what version Oracle JDK 8.221 and Zulu DK 8.222
    • openHAB version:2.4 stable
  • Issue of the topic: please be detailed explaining your issue

I am trying to start openHAB 2.4 stable version.
I followed the instructions and used either Java Zulu-8 Development kit
or Oracle JDK 8.221.

After starting and trying to get STANDARD UIs setup, in the openhab log
I get a

“Failed to generate a new SSL Certificate. Failed to generate the new certificate.”

error at the beginning of the file and then

"Failed installing ‘openhab-ui-homebuilder, openhab-ui-basic, openhab-ui-habpanel, openhab-ui-paper’: Error:
Error downloading mvn:org.openhab.core/org.openhab.ui.paperui/2.4.0

I think it is a Java problem but I do not know what else to do.
Has someone a hint?

Below the full error log

 2019-09-30 11:39:25.069 [ERROR] [ficate.internal.CertificateGenerator] - Failed to generate a new SSL Certificate. Failed to generate the new certificate.
	at ~[?:?]
	at ~[?:?]org.eclipse.osgi.internal.framework.BundleContextImpl$ ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$ ~[?:?]
	at Method) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator( ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start( ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0( ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker( ~[?:?]
	at org.eclipse.osgi.container.Module.doStart( ~[?:?]
	at org.eclipse.osgi.container.Module.start( ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start( ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start( ~[?:?]
	at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle( ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle( ~[?:?]
	at org.apache.karaf.features.internal.service.Deployer.deploy( ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision( ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13( ~[?:?]
	at [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
	at java.util.concurrent.ThreadPoolExecutor$ [?:?]
	at [?:?]
Caused by: EC KeyPairGenerator not available
	at ~[?:?]
	at ~[?:?]
	... 21 more
2019-09-30 11:40:04.692 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-ui-homebuilder, openhab-ui-basic, openhab-ui-habpanel, openhab-ui-paper': Error:
	Error downloading mvn:org.openhab.core/org.openhab.ui.paperui/2.4.0

Found the solution by myself. NOT a Java problem. I simply ran instead of start.bat since I had the option to hide the extension on. Now I can use openhab.