Hello.  Thank you very much for this software.  I've been using it
happily on Windows with MikTex for a while.  I'm trying to get it up and
running on RedHat Linux 8.0.  I just downloaded J2SE v1.4.1_01 from the
Sun website.  I have checked that the .jar archive is exactly the right
size and have downloaded a couple of times, using Mozilla and wget, to
make sure it's not corrupted.  Below I have included the Java complaint
I get (same stuff if I remove -jar, except that first line goes away),
the 'ls' output, and the ppower4 script.  Thanks in advance, Jenny

[root@localhost ppower4]# /usr/local/bin/ppower4 example.pdf exampleNEW.pdf
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: 
.usr.local.share.texmf.tex.latex.ppower4.pp4p.jar
   at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) 
(/usr/lib/libgcj.so.3)
   at 0x4027408e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x40275b1a: java.lang.LinkageError.LinkageError(java.lang.String) 
(/usr/lib/libgcj.so.3)
   at 0x40276f76: 
java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) 
(/usr/lib/libgcj.so.3)
   at 0x402c60f9: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3)
   at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3)
   at 0x4023478c: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) 
(/usr/lib/libgcj.so.3)
   at 0x08048900: ?? (??:0)
   at 0x420158d4: ?? (??:0)
   at 0x080486c1: ?? (??:0)

[root@localhost ppower4]# ls -l pp4p.jar
-rw-rw-r--    1 jenny    jenny      285312 Jan 28 17:15 pp4p.jar

[root@localhost ppower4]# cat ppower4
#!/bin/sh
#
#  PPower4 shell script file                 last update: 29 Aug 2002
#
#  minimal usage:
#  ppower4 input.pdf output.pdf
#
#  Note: input.pdf and output.pdf must be different.
#
#  It is assumed that you have at least Java 1.2.x installed
#  and can call it with the command java. Otherwise specify the
#  path for your Java runtime system.
#
#  Modify this script such that jarfile contains the full path
#  of the pp4p.jar file.
#
jarfile=/usr/local/share/texmf/tex/latex/ppower4/pp4p.jar
#
#  If you use a web2c distribution, you can place pp4p.jar 
#  e.g. into the directory texmf/java/ppower4, run mktexlsr,
#  comment the assignment above and uncomment the assignment below.
#  Thanks to Reinhard Kotucha for contributing this suggestion.
#
#jarfile=`kpsewhich -progname=java -format='other binary files' pp4p.jar`
# 
#
java -jar ${jarfile} "$@"

Reply via email to