Link

Viewing PDFs in JPedals Base Viewer

BaseViewer is a very simple Java PDF viewer with minimal functionality.

BaseViewer from Command Line or another language

java --module-path . --add-modules com.idrsolutions.jpedal org/jpedal/examples/baseviewer/BaseViewer

We recommend modules from Java 11 onwards, if you are using an older version you will have to use the classpath.

We would recommend you look at the fully-featured PDF viewer. It is totally configurable and includes lots of functionality (Search/Print/multiple views/etc).