emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unable to run ditaa on cygwin emacs
@ 2017-01-31 12:39 Roland Everaert
  0 siblings, 0 replies; only message in thread
From: Roland Everaert @ 2017-01-31 12:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 1045 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-31 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-31 12:39 Unable to run ditaa on cygwin emacs Roland Everaert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).