From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Everaert Subject: Unable to run ditaa on cygwin emacs Date: Tue, 31 Jan 2017 13:39:53 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1148f5c295cb900547633a53 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYXj2-0007Ko-JI for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 07:39:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYXj1-0000B9-LW for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 07:39:56 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:33089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYXj1-0000Ai-F2 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 07:39:55 -0500 Received: by mail-wm0-x234.google.com with SMTP id t18so19300488wmt.0 for ; Tue, 31 Jan 2017 04:39:55 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --001a1148f5c295cb900547633a53 Content-Type: text/plain; charset=UTF-8 Hi, I use Cygwin emacs with Windows UI. I have just installed java 8 (but java 6 is still present for some legacy application) and updated my .bash_profile with the following: export JAVA_HOME=/cygdrive/c/tools/java8 export PATH=$PATH:$JAVA_HOME/bin Org is configured to run ditaa code blocks, but when I evaluate a code block, I see the following in the *Message* buffer executing Ditaa code block (TEST)... java -Dfile.encoding=UTF-8 -jar /cygdrive/c/Users/re/.emacs.d/site-lisp/org-9.0.4/contrib/scripts/ditaa.jar /tmp/babel-6316MOI/ditaa-63168iW /cygdrive/c/Users/re/pics/test.png Error: Unable to access jarfile /cygdrive/c/Users/re/.emacs.d/site-lisp/org-9.0.4/contrib/scripts/ditaa.jar Code block evaluation complete. I am using Org 9.0.4 downloaded today. The ditaa.jar file has been unblocked in the properties of the file in the file explorer. Any idea why I get that error message? --001a1148f5c295cb900547633a53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I use Cygwin ema= cs with Windows UI. I have just installed java 8 (but java 6 is still prese= nt for some legacy application) and updated my .bash_profile with the follo= wing:

export JAVA_HOME=3D/cygdrive/c/tools/java8
export PATH=3D$P= ATH:$JAVA_HOME/bin

Org is configured to run ditaa code blocks,= but when I evaluate a code block, I see the following in the *Message* buf= fer

executing Ditaa code block (TEST)...
java -Dfile.encoding=3DU= TF-8 -jar /cygdrive/c/Users/re/.emacs.d/site-lisp/org-9.0.4/contrib/scripts= /ditaa.jar=C2=A0 /tmp/babel-6316MOI/ditaa-63168iW /cygdrive/c/Users/re/pics= /test.png
Error: Unable to access jarfile /cygdrive/c/Users/re/.emacs.d/= site-lisp/org-9.0.4/contrib/scripts/ditaa.jar

Code block evaluation = complete.


I am using Org 9.0.4 downloaded today.

The ditaa.jar file has been unblocked in the properties of the file in = the file explorer.

Any idea why I get that error message?
<= /div> --001a1148f5c295cb900547633a53--