FreeBSD 15.0-RELEASE-p1, installed new.
Installed jedit
Then installed Libreoffice which brought in openjdk17 and Eclipse which brought in openjdk21.
Now printing from jedit opens a dialog with: "An error occurred while trying to print: Print job failed."
Pressing OK opens another dialog box: "An error occurred while trying to print: java.awt.print.PrinterIOexception"
Tried
On another FreeBSD 14.3 system printing to the same network printer and with the same applications and openjdk11, openjdk17 but openjdk19, jedit prints with no problem. The Cups printer setup and configuration is the same on both systems.
While openjdk21 seems to be the only difference in the two systems and later versions of openjdk are available, I'm guessing others may know something and checking here before trying other versions of openjdk.
Installed jedit
pkg install jedit which brought in openjdk11 and there was no problem printing. Then installed Libreoffice which brought in openjdk17 and Eclipse which brought in openjdk21.
Now printing from jedit opens a dialog with: "An error occurred while trying to print: Print job failed."
Pressing OK opens another dialog box: "An error occurred while trying to print: java.awt.print.PrinterIOexception"
Tried
pkg remove jedit and reinstalling with make install clean but problem remained.On another FreeBSD 14.3 system printing to the same network printer and with the same applications and openjdk11, openjdk17 but openjdk19, jedit prints with no problem. The Cups printer setup and configuration is the same on both systems.
While openjdk21 seems to be the only difference in the two systems and later versions of openjdk are available, I'm guessing others may know something and checking here before trying other versions of openjdk.