Since the release of PDFsam Basic 4 we had some support requests regarding the application being unusable and starting with a white screen on Windows.

After some investigation we found some tickets on the openjdk bug tracker here, here and few others, we tested the proposed workaround and it seems to have fixed the issue for those users experiencing the white screen.

Workaround for PDFsam Basic version 5.x

  • Open with a text editor the file pdfsam.cfg in PDFsam Basic installation directory, usually C:\Program Files\PDFsam Basic\app\
  • Add a JavaOptions java-options=-Dprism.order=sw
  • Close and save
  • Start PDFsam Basic

This is how the configuration file should look like after your edit:

[Application]
app.mainmodule=org.pdfsam.basic/org.pdfsam.basic.App

[JavaOptions]
java-options=-Djpackage.app-version=5.0.0
java-options=-Dprism.lcdtext=false
java-options=--module-path
java-options=$APPDIR\mods
java-options=-Dprism.order=sw

Workaround for PDFsam Basic version 4.x

  • Open with a text editor the file pdfsam.l4j.ini in PDFsam Basic installation directory
  • Append a new line -Dprism.order=sw
  • Close and save
  • Start PDFsam Basic

This is how the configuration file should look like after your edit:

-Xmx512m
-Dprism.lcdtext=false
-Dprism.order=sw

3 Replies to “White screen running PDFsam Basic on Windows”
  1. I’ve been trying to get 4.0.4 working on Windows 10. With an out-of-the-box installation, I get the PDFsam main window with icons for the services but no text.

    After doing some research, I found this workaround. I updated the INI file but now I get a completely blank main window, which I believe was the primary symptom of this bug.

    Any ideas?

  2. I posted a reply earlier indicating that this fix did not work for me. As far as I can tell, it was never posted so I don’t know if this will be either.

    I found another workaround for the issue on Windows 10. I used the “pdfsam.bat” file and invoked it after setting “PDFSAM_JAVA_PATH” to the path of the Java install for my Windows version (i.e., “C:\Program Files\Java\jre1.8.0_231\bin”). I don’t know what’s wrong with the OpenJDK installed with PDFsam Basic it’s not working on my system.

Leave a Reply

Your email address will not be published. Required fields are marked *