emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: ditaa set-up on windows box
Date: Mon, 27 Sep 2010 09:55:30 -0700	[thread overview]
Message-ID: <0vr5gfceil.fsf@gmail.com> (raw)
In-Reply-To: 87r5gi6i8m.fsf@gmx.de

Sebastian Rose <sebastian_rose@gmx.de> writes:

> Markus Heller <hellerm2@gmail.com> writes:
>> Hello everyone,
>>
>> this might be a little OT, but I'm having a hard time to get ditaa to
>> run properly.  The org-mode part works, it's the Java part that's giving
>> me trouble, I'm getting loads of "Exception in thread "main"
>> java.lang.misc stuff goes here" errors, and I have no Java experience
>> whatsoever. 
>>
>> I'm on a windoze XP box, and I was wondering if a fellow user might be
>> willing to share his/her set-up.
>>
>> Thanks and Cheers
>> Markus
>
>
> Hi Markus,
>
>
>
> does `org-ditaa-jar-path' have the correct value?
> You can find out this way:
>
>     M-: org-ditaa-jar-path RET

Yes, it does.

> Can you execute 
>
>    java -jar c:\path\to\ditaa.jar --help
>
> on the command line using the value of that variable? 

Doing this gives the following error:

C:\Documents and Settings\mheller>java -jar C:\Documents and Settings\mheller\.e
macs.d\org-mode\contrib\scripts\ditaa.jar --help
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e file specified
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)

> If not, I suspect you use an outdated version of Org mode and need to
> set `org-ditaa-jar-path' to the correct value yourself.  Nowadays this
> variable is set to the correct value automatically and ditaa.jar comes
> with the development version of Org mode.

M-x org-version:  7.01trans (release_7.01h.580.g2157)

Is this a java problem?

Thanks
Markus

  reply	other threads:[~2010-09-27 16:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 23:41 ditaa set-up on windows box Markus Heller
2010-09-25  3:50 ` John Hendy
2010-09-25 13:54 ` Sebastian Rose
2010-09-27 16:55   ` Markus Heller [this message]
2010-09-27 17:08     ` Sebastian Rose
2010-09-27 17:11     ` Sebastian Rose
2010-09-27 17:28       ` Markus Heller
2010-09-27 21:04         ` Sebastian Rose
2010-09-27 22:04         ` John Hendy
2010-09-28 17:00           ` Achim Gratz
2010-09-29 16:04             ` Carsten Dominik
2010-09-29 17:27               ` Markus Heller
2010-09-29 17:48                 ` Achim Gratz
2010-09-29 18:01                   ` Markus Heller
2010-09-29 18:17                     ` Achim Gratz
2010-09-29 20:15                       ` Markus Heller
2010-09-25 13:56 ` AW: " Martin Stemplinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0vr5gfceil.fsf@gmail.com \
    --to=hellerm2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).