Tales from Support: Java VM not found

Sometimes people get a Java loading error on using JSON schema validation, the Schematron validator or XSLT transformations in XML ValidatorBuddy or JSONBuddy for the very first time. In addition the editor shows a warning in the Results window if Java can’t be loaded on starting the application.

You can use the Java control panel to check if there is a 64-bit Java runtime available on your system. Open the control panel and use the button to show the Java installations on the Java tab:

Java control panel (German)

Java control panel (German)

There should be at least one active entry showing x86_64 in the list. If not please add a 64-bit runtime using the search or add buttons on the bottom.

In addition, it usually has one of three reasons if the Java runtime can’t be loaded:

  1. There is no Java runtime installed. In this case please download Java 64-bit and install it.
  2. The XML ValidatorBuddy editor needs a 64-bit version of Java. Even if there is a 32-bit Java present, please install a 64-bit runtime in addition.
  3. Sometimes the Java installer doesn’t write the path to the VM binaries (javavm.dll) to the PATH environment variable. In this case please set them manually using the Windows control panel. The paths for Java version 7 are like “C:\Program Files\Java\jre7\bin” and “C:\Program Files\Java\jre7\bin\client”.

If there is no warning about the Java runtime on starting the editor you should have no problems using JSON schema, the Schematron validator and XSL transformations.


Leave a Reply