The instructions are basically the same. Just replace $JAVA_HOME with %JAVA_HOME% if you have a JAVA_HOME environment variable set or replace it with the path to where your JDK is installed (e.g. c:\Program Files\Java\jdk.1.8.0_102).
The JAVA_HOME environment variable is what’s confusing me. I can’t remember to have installed the JDK at all. Doesn’t OpenHAB for Windows come with an embedded JDK installation?
I’ve never run it on Windows so don’t know. I didn’t think it did. And I probably mentioned jdk by mistake. You probably have the Java Runtime Environment, not the Java Development Kit so look for JRE.
I managed to import the certificate, but now I got a new error. I thought I managed to grant OpenHAB access to work with the netatmo API, but it seems like I must have made a mistake. This is the error
org.openhab.binding.netatmo.internal.NetatmoException: Could not parse JSON from URL 'https://api.netatmo.net/oauth2/token' content='grant_type=refresh_token&refresh_token=xxx&client_id=xxx&client_secret=xxx&scope=read_station' json='{"error":"invalid_grant"}'