Configure Java for the grammar engine
Was this helpful?
This guide explains how to configure Java for the algorithmic grammar check in the WProofreader application.
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
After installing a supported JDK, you may need to point the application to the JVM manually.
Stop AppServer.
In your WProofreader installation folder, open AppServer/AppServerX.xml for editing.
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>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.
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.
Was this helpful?
Was this helpful?

