**Note**

This issue only applies when updating to the 2.19-1 Grep package. A new package Grep 2.20-1 was released that corrected the issue so if you update to the most recent package of 2.20-1 you will not have any more issues.

If for some reason you are unable to update to the 2.20-1 package you can try the options below to correct the problem caused by the 2.19-1 Grep package.

 

Q: I installed the latest system update for Arch Linux and now PDF studio won’t start and I am getting the below error message. What can I do to fix this?

Startup Error

java.lang.ClassNotFoundException: com.qoppa.pdfStudio.pub.PDFStudio

            at java.net.URLClassLoader$1.run(Unknown Source)

            at java.security.AccessController.doPrivileged(Native Method)

            at java.net.URLClassLoader.findClass(Unknown Source)

            at java.lang.ClassLoader.loadClass(Unknown Source)

A: The most recent update to Arch Linux contains an update to the Grep package that is modifying the class paths of PDF Studio and preventing it from running.

In order to run PDF Studio you will need to revert to the previous Grep version 2.18-1. We are working on a resolution to fix the issue caused by the new Grep version in the next release.

Some users have also reported being able to fix the issue by using a Gist patch file to patch PDF Studio 8 https://gist.github.com/refox/4f1d0053ee98e2b90b1d, or manually updating the class paths in the shell script file themselves. A modified version of either one of these options should also work for PDF Studio 9 as well.

These are advanced operations and you should only modify these settings if you are an advanced Linux user and you have complete understanding of what you are doing

Updating the Shell Script file

First locate the shell script file labeled “pdfstudioX” (X is the version number) in the installation directory of PDF Studio.
Then manually update the shell script file to remove the “\” from in front of each of the .(jar$|zip$)

i4j_classpath=”$app_home/.install4j/i4jruntime.jar”
local_classpath=””
add_class_path “$i4j_classpath”
for i in `ls “$app_home/lib” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/$i”
done
for i in `ls “$app_home/lib/acrobat” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/acrobat/$i”
done
for i in `ls “$app_home/lib/googledocs” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/googledocs/$i”
done
for i in `ls “$app_home/lib/jaxb” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/jaxb/$i”
done
for i in `ls “$app_home/lib/swt” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/swt/$i”
done
for i in `ls “$app_home/lib/dj” 2> /dev/null | egrep “\.(jar$|zip$)”`
do
add_class_path “$app_home/lib/dj/$i”
done