In case your system does not have a default JVM paths available, you could give it a fully qualified path to java.exe launcher. See example here, try to locate similar file actual folder may varie but should get an idea.