PDFsam Basic 4.0.0

A Few days ago we published the new major version 4.0.0 of PDFsam Basic. Beside the usual upgrades to the PDF engine and translations, few bug fixes and minor improvements, the main objective was to create a standalone self-contained application.

TL;DR

Some of you have written concerned about the new Java policy in which Oracle will not provide free updates to commercial entities as of January 2019. We decide to implement a batteries included solution, switching to OpenJDK 11 and creating a jlinked version of the Java runtime that is now included in PDFsam Basic 4.0.0.

Read more…

PDFsam Basic not starting on Ubuntu

We recently had a number of users having problems running PDFsam Basic on latest Ubuntu, this is the typical stacktrace they get back when trying to run the application:

Exception in thread “main” java.lang.NoClassDefFoundError: javafx/scene/layout/HBox
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at org.pdfsam.community.App.main(App.java:34)
Caused by: java.lang.ClassNotFoundException: javafx.scene.layout.HBox
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)

Read more…