Klocwork ERROR: cannot find installed JVM
Klocwork Solo is a wonderful stand-alone source code analysis for Java.
But when I run klocwork in eclipse, I get this error message below:
kwcheck.exe ERROR: cannot find installed JVM
Google search but find no result:
Login to Klocwork forum, and find the solution:
This problem occurs if eclipse runs on a jdk vm -- this can happen if you add jdk(not jvm) location to Path environment variable.
Everything works fine if it runs on a jre vm.
Solution is to launch eclipse using "eclipse -vm <Java>\bin" instead of "eclipse -vm <Java>\bin\java.exe";