﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17490	Cannot start JOSM with JDK instead of JRE	Josmi	team	"OS: Windows 7 (64 bit)
JOSM: 14824
JDK: 11.0.2 (64 bit), no other Java version installed

When launching josm.exe, a window pops up, saying:
""This application requires a Java Runtime Environment 1.8.0
The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.""

When using a command prompt to launch ""java -jar 'C:\Program Files (x86)\JOSM\josm-tested.jar'"", the result is:
""Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.""

It seems as if JOSM was looking for a JRE-specific registry key, ignoring the path to the JDK key which is:
HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/**JDK**/11.0.2

Note: There is no JRE version of Java 11 from Oracle, only JDK."	defect	closed	normal		Installer Windows	tested	othersoftware	jdk	
