From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AgPkC+UCW2EEQgAAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 15:34:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QOPfBuUCW2FIQgAAbx9fmQ (envelope-from ) for ; Mon, 04 Oct 2021 13:34:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD0082C8AA for ; Mon, 4 Oct 2021 15:34:28 +0200 (CEST) Received: from localhost ([::1]:51708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXO6t-0001we-TR for larch@yhetil.org; Mon, 04 Oct 2021 09:34:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXO5o-0001uS-0N for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 09:33:20 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:51030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXO5m-00080q-Es for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 09:33:19 -0400 Received: by mail-pj1-x102b.google.com with SMTP id k23so669501pji.0 for ; Mon, 04 Oct 2021 06:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=uUWZp8CqMQcxO8xcj0R9lKz6T2s8EkpGVvKTdTBUx2Q=; b=Wz95kaBSfP+KRG8qS+kBNLHGDHCHs9Qv6pupK3y8zWFRDSWLFj7bWxgGOZHd0NR9y6 GIlIzoiuTGvNGYQPjhCRN9NtaTIVGqcN6uasQEmtor8W9kWbXjy2pDo0uVyV69hfYPRc yhQNX/5amY4z3oApTW+14WtSIBAafYTB7n2Uwqmvr3GUgP4C/91laV6Q0lz3+IYq72n5 WAe5XW9K9m6wNzLrMx5eUBwvAAAVquCsAYrL/snby4PyRaJwy6XA3NhQte3cstdXqa3m oSIvR4/SJb07NP0JuBzjOJoBjZPhEc7ds2/aGTCxZg+AOzyrmJp/cu5vo7tgZLHGPWRD dWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=uUWZp8CqMQcxO8xcj0R9lKz6T2s8EkpGVvKTdTBUx2Q=; b=xQ24cFBvB+sBP6bgZY7IbNRjAhgc1sPw8IA4nZ+4l6UuiiEgJccghzMH9rAHjaMum8 CCPjo2IiiGTCPAU9DZpDB11oxUMUoCb3cLHCdpZMsvej72QviFn3+r1SVJ9LHatT+5V6 QPPurWUwt9iM7+dbw7ZkJfTdj4pfQV3cbZfYarwb8M587bsg4gB9CIglRQmS5TCAjxqh ELSMl+gu/oD3+6pCYFYVN96hYuVBBVL66dCisffSQsp6tiDrw8lBSMyCJ3ukhnAnBx/d IJX0jCwgRfKrJcbRlZQ/a0V7BP18UxfgoVPujisnrZb3xuGJfqawFdVa34U7vqzKktA7 OEQw== X-Gm-Message-State: AOAM533g3JM4CMPCgmS+e2d0/OedFhlUPZP/dfubIrlZlJsEmvQj7QSk Oeof1aH6B7AWksZV8dcWLeIxxGXv6NY= X-Google-Smtp-Source: ABdhPJy/SDgmUg4eVZPaGZwpLR7mf7r7i5KJeV/3DcDvObve3ssN1jNwS/Uuf4mctD8U29uEJ2H7Yw== X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr29866270pji.133.1633354396223; Mon, 04 Oct 2021 06:33:16 -0700 (PDT) Received: from tim-desktop (124-171-53-42.dyn.iinet.net.au. [124.171.53.42]) by smtp.gmail.com with ESMTPSA id y197sm12405869pfc.56.2021.10.04.06.33.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 06:33:15 -0700 (PDT) References: <87y27au43k.fsf@iki.fi> <87mtnpqakq.fsf@ucl.ac.uk> User-agent: mu4e 1.7.0; emacs 28.0.60 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: 9.5: coping with loss of ditaa.jar Date: Tue, 05 Oct 2021 00:28:44 +1100 In-reply-to: <87mtnpqakq.fsf@ucl.ac.uk> Message-ID: <87wnms29uv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633354468; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uUWZp8CqMQcxO8xcj0R9lKz6T2s8EkpGVvKTdTBUx2Q=; b=p5ccC5/Krh3CFkg2LVxiA7bpqK430VCWi5salIuVWV+DX4wOV9Vjq0KzfMjGstQ7ZqnBI6 7FRslyoeyJJoW7mqglD920AfHw7on96rwbYYgqSjgkFL1AxTmVBh3Bj66Dn2p5uMFtm+QS iKQJmhH9v9JrpBdMHXskTo2e1HnD4Ig+XrsrLDAbM5FtUwxaBKyeWpiTBnPs6uUcRRhUjG amZ0nV+mStOG4Y0TexSxv2K2VUS/VD1ZmAYGR3HBZsOFl0W4P+AdC65U+vxd/lX7ONvjul 2NV2o7zwUBJIKB8IThJxlB4dsPhGoxp59Y+nR9d0TNEll2hD/lXs5Utc3yPtUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633354468; a=rsa-sha256; cv=none; b=AGQDuDNRt9ctPq7LL5YmkUsheOywgScZjtfdEO6DDADR+pXVRPSmD6a9uEa/Wlu1fxXZ/E w3WxW2UCkhZFp+ghYm5PEJb40Ci/M1yyo1hLID5/cf+bQYzuE8/74DgVGAIXpwS002f6CO txhUuDsq+7svKCpWSqk1stHq+HJwp48J5DelJNGgJ28TjXIEJy4lmubE1oWokaLHUVIPf+ DQQ2SF/ONLSLskSNV4p25ytwiGxp+GYgfGFhNjwwACt0dPJmPW0qX/mfZCDwqIWqxyRNOs faVMe3ojHvJXXE3x2cTUcSLgwol1YMn3lc+AhQCXOCjeiHugEDn2FzmiWIpKag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wz95kaBS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wz95kaBS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: BD0082C8AA X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: AzYkgR9nrD/f Eric S Fraga writes: > On Sunday, 3 Oct 2021 at 07:25, Jarmo Hurri wrote: >> 1. I am running Fedora 34, where ditaa is available as a >> package. However, just pointing org-ditaa-jar-path to the correct >> location /usr/share/java/ditaa.jar is not sufficient, because doing >> so leads to errors when trying to execute a ditaa babel block: > > On Debian 11 (bullseye, most recent stable version), this works just > fine for me. I didn't need to feed any parameters, as you have > suggested being necessary. I don't know why, mind you. It could be a > different version of ditaa.jar? On Debian 11, the version installed is > 0.10+ds1-1.2. I suspect the difference is between having what Java calls a 'stand-alone' jar and a library jar. With a 'stand-alone' jar, all dependencies needed by the java program are bundled into the jar. With a library jar, only the specific code that makes up the library is included. It is a little like static versus dynamic linking of libraries. The idea is that with the lib only jar, you would already have the library dependencies installed (via maven or similar). >From the OP's original post, my guess is the jar they had was only the library, not a stand-alone jar with all the dependencies included. The ditta release page holds both stand-alone and minimal lib jars from memory. Most people will want the stand-alone version.