Configure Java for the grammar engine

This guide explains how to configure Java for the algorithmic grammar check in the WProofreader application.

Java version requirements

The algorithmic grammar engine requires a JVM to run. The required Java version depends on your application version:

  • WProofreader 5.40.0 and above: Java 17

  • WProofreader up to 5.39.x: Java 8

The following JDK distributions are supported:

  • Oracle JDK

  • Microsoft OpenJDK

  • Other distributions that implement standard Java specifications

Configure the JVM path

After installing a supported JDK, you may need to point the application to the JVM manually.

  1. Stop AppServer.

  2. In your WProofreader installation folder, open AppServer/AppServerX.xml for editing.

  3. Locate the PathToJavaVirtualMachine parameter and set it to the path of jvm.dll on your server. For example:

<PathToJavaVirtualMachine>C:/Program Files/Java/jdk-17/bin/server/jvm.dll</PathToJavaVirtualMachine>
  1. Save the file and start AppServer.

Alternatively, you can reinstall the WProofreader application. During installation, you'll be prompted to specify the JVM path manually.

Verify grammar check

After restarting AppServer, verify that grammar check is working in the product UI. If it still isn't available, confirm that the path in PathToJavaVirtualMachine matches the actual location of jvm.dll on your server.

Last updated

Was this helpful?