PDF Split And Merge Basic Edition (PDFsam Basic)
Open source desktop application to split, merge, rotate, extract pages and mix PDF files.
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Sauerland/pdfsam-basic && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| icon.svg | 0000004537 4.43 KB | |
| pdfsam-5.4.1-linux.tar.gz | 0098742441 94.2 MB | |
| pdfsam-basic.changes | 0000005333 5.21 KB | |
| pdfsam-basic.desktop | 0000000317 317 Bytes | |
| pdfsam-basic.spec | 0000002966 2.9 KB |
Comments 7
Just installed pdfsam-basic on openSUSE Leap 15.5 from your repository (by running 'opi pdfsam' and choosing pdfsam-basic, then choosing your repository), but when launching the application I get the following error:
Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: /opt/pdfsam-basic/lib/javafx-base-20.0.1-linux.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 61.0
PDFsam quickly shows a little loading screen and then exits. Is there anything I can do?
I see you have downgraded the package to pdfsam-4.3.4, now I get the following error:
Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE199E bad major version 55.0 of class=org/pdfsam/basic/App, the maximum supported major version is 52.0; offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:397) at java.lang.ClassLoader.defineClass(ClassLoader.java:358) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:682) at java.net.URLClassLoader.access$400(URLClassLoader.java:89) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1086) at java.security.AccessController.doPrivileged(AccessController.java:782) at java.net.URLClassLoader.findClass(URLClassLoader.java:589) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:957) at java.lang.ClassLoader.loadClass(ClassLoader.java:902) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:885) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621)
Is this an error on my end or a packaging error? Also, is this the correct place to post this or should I rather open a bug report?
Its both an Java error, using the wrong Java package. On Leap 15.5:
java --version
openjdk 17.0.8 2023-07-18
OpenJDK Runtime Environment (build 17.0.8+0-suse-150400.3.27.1-x8664)
OpenJDK 64-Bit Server VM (build 17.0.8+0-suse-150400.3.27.1-x8664, mixed mode, sharing)
pdfsam
Sept. 13, 2023 3:14:43 PM com.sun.javafx.application.PlatformImpl startup WARNUNG: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @7297e8b9'
INFO 15:14:44.202 o.p.PdfsamApp[JavaFX-Launcher] Starting PDFsam
INFO 15:14:45.186 o.s.c.c.GlobalConfiguration[JavaFX Application Thread] Configuring Sejda 4.3.17
INFO 15:14:45.633 o.p.PdfsamApp[JavaFX Application Thread] Gestarted in 1 second
INFO 15:14:49.755 o.p.PdfsamApp[JavaFX Application Thread] PDFsam wird geschlossen …
Here's my output on Leap 15.5:
java --version
openjdk 11.0.20 2023-07-18
OpenJDK Runtime Environment (build 11.0.20+0-suse-150000.3.99.1-x8664)
OpenJDK 64-Bit Server VM (build 11.0.20+0-suse-150000.3.99.1-x8664, mixed mode)
Looks like Java version 11, which is the one also mentioned in the Requires section of the pdfsam-basic.spec file. However with this Java version I get the above error.
Here it is working also with the same Version as yours.
Have you all Java packages switched to openjdk 11?
As root
update-alternatives --config java(TAB)(TAB)
java javadocdir java_sdk_17 java_sdk_openjdk
javac java_sdk_11 java_sdk_1.8.0
When I type in update-alternatives --config java and hit TAB twice, the following show up (among other non-java stuff):
java
jre_11
jre_1.8.0
jre_openjdk
Also:
zypper se -i java
i | java-1_8_0-openj9
i | java-1_8_0-openj9-headless
i | java-11-openjdk
i | java-11-openjdk-headless
i | javapackages-filesystem
i | javapackages-tools
i | libjavascriptcoregtk-4_0-18
i | libjavascriptcoregtk-4_1-0
i | timezone-java
i | typelib-1_0-JavaScriptCore-4_0
i | typelib-1_0-JavaScriptCore-4_1
You have jre installed.........
I not.