Maybe this will help others. Others could run the program. But i got the exact same "Error while locating the most appropriate JVM." Had the 32-bit jdk. But installing the 64-bit version solved my issue.