Date: Wed, 20 Dec 2006 02:38:48 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: acrobatviewer Message-ID: <458912B8.5010305@u.washington.edu> In-Reply-To: <20061219214345.E49015@wonkity.com> References: <20061219214345.E49015@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warren Block wrote: >> Stevan Tiefert wrote: >> >> I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1. >> Each time I want to use acrobatviewer, this message appears: >> >> $ AcrobatViewer >> expr: illegal option -- r >> usage: expr [-e] expression >> $ AcrobatViewer redbook.pdf >> expr: illegal option -- r >> usage: expr [-e] expression >> $ > > [Suggestions of using xpdf or kpdf...] > >> this thread is confusing me... An example: If I ever would have a >> problem with the FreeBSD-Kernel you would suggest me to use a >> linux-kernel? > >> I have a problem with acrobatviewer... I wanted maybe a hint or >> solution with my problem and not alternatives. > > Some people would read your question as "What can I use to view PDFs?" > They're trying to help. Nobody has suggested acroread yet, which also > works. > > As to your original question, there are several problems with with > escaping and quoting in the AcrobatViewer shell script. That whole > script is a problem. What it's supposed to do is set up an environment > to actually run the Java code. > > You can run it directly: > > java -cp acrobat.jar com.adobe.acrobat.Viewer Exception in thread "main" > java.lang.NoClassDefFoundError: com/apple/mrj/MRJAboutHandler > > (The same error shows up when you run the "LAX" version set up by the > shell script.) > > Web searching led to this: > > http://groups.google.com/group/comp.lang.java.programmer/msg/a49b39f4960fca76?dmode=source > > > -Warren Block * Rapid City, South Dakota USA Warren has a point. If it isn't supported by Adobe anymore, the thing with it being broken is pretty much moot. Is there a specific reason why you wanted to look at PDFs with a java app instead of a binary? - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiRK4EnKyINQw/HARAvXMAJ9QC5i4EqWcLt4ysFfzmuqk94EtSgCeJ4or QBnqt2XQRF1ka+FLBkU85k0= =8vN5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?458912B8.5010305>