From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 10:39:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F341916A403 for ; Wed, 20 Dec 2006 10:39:11 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B2D243CB9 for ; Wed, 20 Dec 2006 10:38:54 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBKAcoOH006143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Dec 2006 02:38:50 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBKAcnQ8003633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 20 Dec 2006 02:38:49 -0800 Message-ID: <458912B8.5010305@u.washington.edu> Date: Wed, 20 Dec 2006 02:38:48 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061217) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061219214345.E49015@wonkity.com> In-Reply-To: <20061219214345.E49015@wonkity.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.20.22433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: acrobatviewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 10:39:12 -0000 -----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-----