Package Details: pdfstudioviewer 2023.0.4-1

Git Clone URL: https://aur.archlinux.org/pdfstudioviewer.git (read-only, click to copy)
Package Base: pdfstudioviewer
Description: Review, annotate, and edit PDF Documents
Upstream URL: https://www.qoppa.com/pdfstudioviewer
Licenses: custom
Submitter: yochananmarqos
Maintainer: bbx0
Last Packager: bbx0
Votes: 9
Popularity: 0.050234
First Submitted: 2019-07-25 18:39 (UTC)
Last Updated: 2024-01-13 11:29 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Pinned Comments

Latest Comments

1 2 Next › Last »

sunshe35 commented on 2023-12-17 01:53 (UTC) (edited on 2023-12-17 02:18 (UTC) by sunshe35)

The check of pdfstudioviewer-2023.0.3_linux64.deb using sha256sums is failed.
This is the new hash.

[sunshe35@archlinux pdfstudioviewer]$ sha256sum *
a1ab18ccf654ff05107f1823a6056bbb13d75f69307a39054d057648dd04df05  pdfstudioviewer-2023.0.3_linux64.deb
fdcba512d02c666e3f116afeb6811457483e09ad29f934b5bce13c862fd473d6  pdfstudioviewer.desktop
89e50f5316f1b996f682395acfa9a43db8b412ddafb6ee0782171bcf71dbf2b3  PKGBUILD

This is the PKGBUILD file:

source=("${pkgname}-${pkgver}_linux64.deb::https://download.qoppa.com/$pkgname/PDFStudioViewer_linux64.deb"
        "$pkgname.desktop")
sha256sums=('250c79c892e3c16e154572ccfbf54d0d714df19707271971c8a0c8cdcfbe844b'
            'fdcba512d02c666e3f116afeb6811457483e09ad29f934b5bce13c862fd473d6')

AUR_user commented on 2023-10-19 11:56 (UTC)

I get an exception while trying to open the program. Could jdk/jre 21 be an issue? It seems like, the program tries to use java-11

extra/jdk-openjdk 21.u35-3 [installed]

$ archlinux-java status
Available Java environments:
  java-11-openjdk
  java-21-openjdk (default)
  java-8-openjdk

$ java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)

java.lang.UnsatisfiedLinkError: no splashscreen in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2678)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1886)
        at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:134)
        at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:132)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.desktop/java.awt.SplashScreen.getSplashScreen(SplashScreen.java:131)
        at com.exe4j.runtime.gui.AwtSplashScreen.<init>(AwtSplashScreen.java:21)
        at com.exe4j.runtime.gui.AwtSplashScreen.<init>(AwtSplashScreen.java:10)
        at com.exe4j.runtime.gui.AwtSplashScreen$Invoker.create(AwtSplashScreen.java:92)
        at com.exe4j.runtime.splash.SplashEngine.setJavaSplashScreenConfig(SplashEngine.java:15)
        at com.install4j.runtime.launcher.UnixLauncher.prepareLaunch(UnixLauncher.java:124)
        at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:70)
        at install4j.com.qoppa.pdfStudioViewer.pub.PDFStudioViewer.main(Unknown Source)
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk/lib/libawt_xawt.so
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2638)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.System.load(System.java:1850)
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2450)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2506)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2705)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2656)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1886)
        at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1395)
        at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1393)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1392)
        at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1425)
        at java.desktop/java.awt.Color.<clinit>(Color.java:275)
        at com.qoppa.pdf.b.eb.<clinit>(Unknown Source)
        at com.qoppa.pdfStudio.r.d.ej(Unknown Source)
        at com.qoppa.pdfStudio.r.d.<clinit>(Unknown Source)
        at com.qoppa.pdfStudioViewer.pub.PDFStudioViewer.main(Unknown Source)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
        at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:71)
        at install4j.com.qoppa.pdfStudioViewer.pub.PDFStudioViewer.main(Unknown Source)

petaramesh commented on 2022-09-21 17:23 (UTC)

Hello, Please add 'aarch64' to the supported architectures in PKGBUILD, as it compiles and runs fine there. TIA.

petaramesh commented on 2022-01-25 08:12 (UTC)

Hi, Update available, but won't install (wrong checksum), please update.

MrBlister commented on 2021-09-02 11:43 (UTC) (edited on 2021-09-02 11:50 (UTC) by MrBlister)

Gets stuck after the splash screen - leaves an empty window. Invoking pdfstudioviewer from the terminal using jre8 does not show any debug output, but with jre11, there is some debug output:

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.qoppa.pdfStudioViewer.c.e (file:/opt/pdfstudioviewer/lib/pdfstudio.jar) to field sun.awt.X11.XToolkit.awtAppClassName

WARNING: Please consider reporting this to the maintainers of com.qoppa.pdfStudioViewer.c.e

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

Any ideas how to debug this - I'm not very familiar with Java apps?

mindbound commented on 2021-02-19 01:10 (UTC) (edited on 2021-02-19 01:46 (UTC) by mindbound)

The added "$1" causes a "File not found" error to be thrown when the script is launched without the argument. I changed the pdfstudioviewer.sh script to

#!/bin/bash

export INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/jvm/java-8-openjdk/jre

if [[ $# -gt 0 ]]; then
    /opt/pdfstudioviewer/pdfstudioviewer2020 "$1"
else
    /opt/pdfstudioviewer/pdfstudioviewer2020
fi

which works but might or might not be optimal.

yochananmarqos commented on 2020-10-14 14:40 (UTC)

@Asuranceturix: Thanks, done.

Asuranceturix commented on 2020-10-14 10:27 (UTC) (edited on 2020-10-14 15:50 (UTC) by Asuranceturix)

The addition of the pdfstudioviewer.sh launcher broke the functionality of opening PDFs from the file explorer for me (PDF Studio Viewer launches but it does not open anything). Adding "$1" at the end of the script fixes it.

Updated: @yochananmarqos Thanks for fixing this so quickly and for carrying this very useful package. :)

saghm commented on 2020-09-24 19:45 (UTC)

Awesome! Thanks a bunch