From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: ditaa set-up on windows box Date: Fri, 24 Sep 2010 22:50:57 -0500 Message-ID: References: <0vhbher9pp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1475680699==" Return-path: Received: from [140.186.70.92] (port=40357 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzLmv-0007oY-D2 for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 23:51:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzLmt-00040f-OG for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 23:51:00 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:38428) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzLmt-00040U-Cd for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 23:50:59 -0400 Received: by bwz10 with SMTP id 10so3180194bwz.0 for ; Fri, 24 Sep 2010 20:50:58 -0700 (PDT) In-Reply-To: <0vhbher9pp.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Markus Heller Cc: emacs-orgmode@gnu.org --===============1475680699== Content-Type: multipart/alternative; boundary=000325556b621ab50804910d67c0 --000325556b621ab50804910d67c0 Content-Type: text/plain; charset=ISO-8859-1 Interesting. I use Linux but have a Win XP box at work and set up Org-mode for a co-worker so that I would know how to set it up on Windows for him. I didn't have any trouble, actually. I just put: (setq org-ditaa-jar-path "C:/Program Files/emacs23/org.git/contrib/scripts/ditaa.jar") and (org-babel-do-load-languages 'org-babel-load-languages '((ditaa . t))) in init.el and all worked fine. One thing you might try is running ditaa right from the command line. I haven't done this on Windows, but the Linux command would be: Make the file "ditaa.txt" and copy this into it (from http://ditaa.sourceforge.net/): +--------+ +-------+ +-------+ | | --+ ditaa +--> | | | Text | +-------+ |diagram| |Document| |!magic!| | | | {d}| | | | | +---+----+ +-------+ +-------+ : ^ | Lots of work | +-------------------------+ Save the file and run "java -jar /path/to/ditaa.jar ditaa.txt" and see what happens. If it works, something's goofed with the org-mode setup. If it doesn't work, something else is goofy. Sorry I can't help more! John On Fri, Sep 24, 2010 at 6:41 PM, Markus Heller wrote: > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --000325556b621ab50804910d67c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Interesting. I use Linux but have a Win XP box at work and set up Org-mode = for a co-worker so that I would know how to set it up on Windows for him. I= didn't have any trouble, actually.

I just put:
(setq org-ditaa-jar-path "C:/Program Files/emacs23/org.git/c= ontrib/scripts/ditaa.jar")

and

=
(org-babel-do-load-languages
=A0'org-babel-lo= ad-languages
=A0'((ditaa . t)))

in init.el and a= ll worked fine. One thing you might try is running ditaa right from the com= mand line. I haven't done this on Windows, but the Linux command would = be:

Make the file "ditaa.txt" and copy this into = it (from=A0http://ditaa.sourcefor= ge.net/):
    +--------+   +-------+    +-------+
    |        | --+ ditaa +--> |       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |=A0
+-------------------------+

Save the file a= nd run "java -jar /path/to/ditaa.jar ditaa.txt" and see what happ= ens.

If it works, something's goofed with the org-mode s= etup. If it doesn't work, something else is goofy.

=
Sorry I can't help more!
John


On Fri, Sep 24, 2010 at 6:41 PM, Markus Heller <= span dir=3D"ltr"><hellerm2@gmail.c= om> wrote:
Hello everyone,

this might be a little OT, but I'm having a hard time to get ditaa to run properly. =A0The org-mode part works, it's the Java part that's= giving
me trouble, I'm getting loads of "Exception in thread "main&q= uot;
java.lang.misc stuff goes here" errors, and I have no Java experience<= br> whatsoever.

I'm on a windoze XP box, and I was wondering if a fellow user might be<= br> willing to share his/her set-up.

Thanks and Cheers
Markus


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--000325556b621ab50804910d67c0-- --===============1475680699== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1475680699==--