Since the built-in help system in Oracle Forms is based on aging technology, many developers find it faster to bypass the error entirely.
Make sure your PATH variable points to the correct Java version (usually JDK 1.8 for modern Forms versions) and that it appears before any other Java entries.